RouteServiceProvider
class RouteServiceProvider 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
static
array
compiles()
Get a list of files that should be compiled for the package.
from ServiceProvider
mixed
__call(
string $method,
array $parameters)
Pass dynamic methods onto the router instance.
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.
at line line 111
mixed
__call(
string $method,
array $parameters)
Pass dynamic methods onto the router instance.