ControllerServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

ControllerServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

ControllerServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

ControllerServiceProvider

ControllerServiceProvider class ControllerServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider 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 arr

Controllers

Controllers Introduction Basic Controllers Defining Controllers Controllers & Namespaces Single Action Controllers Controller Middleware Resource Controllers Partial Resource Routes Naming Resource Routes Naming Resource Route Parameters Supplementing Resource Controllers Dependency Injection & Controllers Route Caching Introduction Instead of defining all of your request handling logic as Closures in route files, you may wish to organize this behavior using Controller classes. Co

ControllerMiddlewareOptions::__construct()

void __construct(array $options) Create a new middleware option instance. Parameters array $options Return Value void

ControllerMiddlewareOptions::only()

$this only(array|string|dynamic $methods) Set the controller methods the middleware should apply to. Parameters array|string|dynamic $methods Return Value $this

ControllerMiddlewareOptions::except()

$this except(array|string|dynamic $methods) Set the controller methods the middleware should exclude. Parameters array|string|dynamic $methods Return Value $this

ControllerMiddlewareOptions

ControllerMiddlewareOptions class ControllerMiddlewareOptions (View source) Methods void __construct(array $options) Create a new middleware option instance. $this only(array|string|dynamic $methods) Set the controller methods the middleware should apply to. $this except(array|string|dynamic $methods) Set the controller methods the middleware should exclude.

ControllerMakeCommand::__construct()

void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void