프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$app | Illuminate\Contracts\Foundation\Application | The application instance. | |
$defer | boolean | Indicates if loading of the provider is deferred. | |
$publishGroups | array | The paths that should be published by group. | |
$publishes | array | The paths that should be published. |
메소드 | 설명 | |
---|---|---|
__construct ( Illuminate\Contracts\Foundation\Application $app ) : void | Create a new service provider instance. | |
commands ( array | mixed $commands ) : void | Register the package's custom Artisan commands. | |
compiles ( ) : array | Get a list of files that should be compiled for the package. | |
isDeferred ( ) : boolean | Determine if the provider is deferred. | |
pathsToPublish ( string $provider = null, string $group = null ) : array | Get the paths to publish. | |
provides ( ) : array | Get the services provided by the provider. | |
when ( ) : array | Get the events that trigger this service provider to register. |
메소드 | 설명 | |
---|---|---|
loadMigrationsFrom ( array | string $paths ) : void | Register a database migration path. | |
loadRoutesFrom ( string $path ) : void | Load the given routes file if routes are not already cached. | |
loadTranslationsFrom ( string $path, string $namespace ) : void | Register a translation file namespace. | |
loadViewsFrom ( string $path, string $namespace ) : void | Register a view file namespace. | |
mergeConfigFrom ( string $path, string $key ) : void | Merge the given configuration with the existing configuration. | |
publishes ( array $paths, string $group = null ) : void | Register paths to be published by the publish command. |
public __construct ( Illuminate\Contracts\Foundation\Application $app ) : void | ||
$app | Illuminate\Contracts\Foundation\Application | |
리턴 | void |
public isDeferred ( ) : boolean | ||
리턴 | boolean |
protected loadRoutesFrom ( string $path ) : void | ||
$path | string | |
리턴 | void |
protected Application,Illuminate\Contracts\Foundation $app | ||
리턴 | Illuminate\Contracts\Foundation\Application |
protected bool $defer | ||
리턴 | boolean |
protected static array $publishGroups | ||
리턴 | array |
protected static array $publishes | ||
리턴 | array |