AdminServiceProviderRegistration
in package
implements
Bootstrapper
Class AdminServiceProviderRegistration
Interfaces, Classes and Traits
- Bootstrapper
- Interface Bootstrapper
Table of Contents
- CORE_SERVICE_PROVIDERS = [GambioAdminLayoutFavoritesFavoritesServiceProvider::class, GambioAdminLayoutRendererAdminRendererServiceProvider::class, GambioAdminLayoutMenuAdminMenuServiceProvider::class, GambioAdminApplicationHttpAdminHttpServiceProvider::class, GambioAdminApplicationErrorHandlingAdminErrorServiceProvider::class]
- boot() : void
- Application bootstrapping.
- getCacheFactory() : CacheFactory
- getEnvironment() : Environment
- registerCoreServiceProvider() : void
- Registers all of the core admin service providers.
- registerServiceProviders() : void
- Tries to register service providers by using the provided list.
Constants
CORE_SERVICE_PROVIDERS
private
mixed
CORE_SERVICE_PROVIDERS
= [GambioAdminLayoutFavoritesFavoritesServiceProvider::class, GambioAdminLayoutRendererAdminRendererServiceProvider::class, GambioAdminLayoutMenuAdminMenuServiceProvider::class, GambioAdminApplicationHttpAdminHttpServiceProvider::class, GambioAdminApplicationErrorHandlingAdminErrorServiceProvider::class]
Methods
boot()
Application bootstrapping.
public
boot(Application $application) : void
Parameters
- $application : Application
Tags
Return values
void —getCacheFactory()
private
getCacheFactory(Application $application) : CacheFactory
Parameters
- $application : Application
Return values
CacheFactory —getEnvironment()
private
getEnvironment(Application $application) : Environment
Parameters
- $application : Application
Return values
Environment —registerCoreServiceProvider()
Registers all of the core admin service providers.
private
registerCoreServiceProvider(Application $application) : void
Parameters
- $application : Application
Return values
void —registerServiceProviders()
Tries to register service providers by using the provided list.
private
registerServiceProviders(array<string|int, mixed> $serviceProviders, Application $application) : void
This method silently continues if anything fails on the registration process.
Parameters
- $serviceProviders : array<string|int, mixed>
- $application : Application