class PublisherServiceProvider extends ServiceProvider (View source)
protected Application | $app | The application instance. | from ServiceProvider |
protected bool | $defer | Indicates if loading of the provider is deferred. |
void | __construct(Application $app) Create a new service provider instance. | from ServiceProvider |
void | boot() Bootstrap the application events. | from ServiceProvider |
void | register() Register the service provider. | |
void | package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. | from ServiceProvider |
string | guessPackagePath() Guess the package path for the provider. | from ServiceProvider |
string | getPackageNamespace(string $package, string $namespace) Determine the namespace for a package. | from ServiceProvider |
void | commands(array $commands) Register the package's custom Artisan commands. | from ServiceProvider |
string | getAppViewPath(string $package) Get the application package view path. | from ServiceProvider |
array | provides() Get the services provided by the provider. | |
array | when() Get the events that trigger this service provider to register. | from ServiceProvider |
bool | isDeferred() Determine if the provider is deferred. | from ServiceProvider |
void | registerAssetPublisher() Register the asset publisher service and command. | |
void | registerAssetPublishCommand() Register the asset publish console command. | |
void | registerConfigPublisher() Register the configuration publisher class and command. | |
void | registerConfigPublishCommand() Register the configuration publish console command. | |
void | registerViewPublisher() Register the view publisher class and command. | |
void | registerViewPublishCommand() Register the view publish console command. | |
void | registerMigrationPublisher() Register the migration publisher class and command. | |
void | registerMigratePublishCommand() Register the migration publisher command. |
Create a new service provider instance.
Bootstrap the application events.
Register the service provider.
Register the package's component namespaces.
Guess the package path for the provider.
Determine the namespace for a package.
Register the package's custom Artisan commands.
Get the application package view path.
Get the services provided by the provider.
Get the events that trigger this service provider to register.
Determine if the provider is deferred.
Register the asset publisher service and command.
Register the asset publish console command.
Register the configuration publisher class and command.
Register the configuration publish console command.
Register the view publisher class and command.
Register the view publish console command.
Register the migration publisher class and command.
Register the migration publisher command.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Foundation/Providers/PublisherServiceProvider.html