Documentation

ControllerServiceProvider implements ServiceProviderInterface

Controller service provider that registers all controllers.

Controllers are NOT registered as singletons - a fresh instance is created for each request to avoid state issues.

Tags
since
3.0.0

Table of Contents

Interfaces

ServiceProviderInterface
Interface for service providers that register services in the container.

Methods

boot()  : void
Bootstrap any application services.
register()  : void
Register services in the container.

Methods


        
On this page

Search results