ApiServiceProvider
final class ApiServiceProvider implements ServiceProviderInterface, BootableServiceProviderInterface (View source)
Composes API configuration, endpoint registration, authorization and response services.
HTTP boot contributes middleware and routes, while CLI boot only validates endpoint providers.
Methods
Registers configuration, shared state and interface bindings while leaving stateless concrete services to autowiring.
Registers enabled framework and application endpoints for HTTP or validates providers for CLI.
Details
register
void
register(ContainerBuilderInterface $container)
Registers configuration, shared state and interface bindings while leaving stateless concrete services to autowiring.
boot
void
boot(ContainerInterface $container)
Registers enabled framework and application endpoints for HTTP or validates providers for CLI.