CommandsServiceProvider
class CommandsServiceProvider extends ServiceProvider (View source)
Methods
void
register()
Register the service provider.
static
array
pathsToPublish(
string $provider = null,
string $group = null)
Get the paths to publish.
from ServiceProvider
void
commands(
array|mixed $commands)
Register the package's custom Artisan commands.
from ServiceProvider
array
provides()
Get the services provided by the provider.
static
array
compiles()
Get a list of files that should be compiled for the package.
from ServiceProvider
mixed
__call(
string $method,
array $parameters)
Dynamically handle missing method calls.
from ServiceProvider
Details
in ServiceProvider at line line 43
void
__construct(
Application $app)
Create a new service provider instance.
in ServiceProvider at line line 130
static
array
pathsToPublish(
string $provider = null,
string $group = null)
Get the paths to publish.
in ServiceProvider at line line 167
void
commands(
array|mixed $commands)
Register the package's custom Artisan commands.
in ServiceProvider at line line 196
array
when()
Get the events that trigger this service provider to register.
in ServiceProvider at line line 216
static
array
compiles()
Get a list of files that should be compiled for the package.
in ServiceProvider at line line 228
mixed
__call(
string $method,
array $parameters)
Dynamically handle missing method calls.