MaintenanceServiceProvider
class MaintenanceServiceProvider extends ServiceProvider (View source)
Methods
void
register()
Register the service provider.
void
package(
string $package,
string $namespace = null,
string $path = null)
Register the package's component namespaces.
from ServiceProvider
void
commands(
array $commands)
Register the package's custom Artisan commands.
from ServiceProvider
array
provides()
Get the services provided by the provider.
Details
in ServiceProvider at line line 27
void
__construct(
Application $app)
Create a new service provider instance.
in ServiceProvider at line line 54
void
package(
string $package,
string $namespace = null,
string $path = null)
Register the package's component namespaces.
in ServiceProvider at line line 106
string
guessPackagePath()
Guess the package path for the provider.
in ServiceProvider at line line 136
void
commands(
array $commands)
Register the package's custom Artisan commands.
in ServiceProvider at line line 177
array
when()
Get the events that trigger this service provider to register.