ServiceProvider extends AbstractServiceProvider
Table of Contents
Methods
- configureBackendRoutes() : ArrayObject
- configureCommands() : CommandRegistry
- configureIcons() : ArrayObject
- configureMiddlewares() : ArrayObject
- getApplication() : Application
- getClearCacheService() : ClearCacheService
- getCoreUpdateService() : CoreUpdateService
- getCoreVersionService() : CoreVersionService
- getEnvironmentController() : EnvironmentController
- getExtensionConfigurationService() : ExtensionConfigurationService
- getExtensions() : array<string|int, mixed>
- Returns a list of all container entries extended by this service provider.
- getFactories() : array<string|int, mixed>
- Returns a list of all container entries registered by this service provider.
- getIconController() : IconController
- getInstallerController() : InstallerController
- getInstallerMiddleware() : Installer
- getLanguagePackCommand() : LanguagePackCommand
- getLanguagePackService() : LanguagePackService
- getLateBootService() : LateBootService
- getLayoutController() : LayoutController
- getLoadTcaService() : LoadTcaService
- getLoginController() : LoginController
- getMaintenanceController() : MaintenanceController
- getMaintenanceMiddleware() : Maintenance
- getNotFoundRequestHandler() : NotFoundRequestHandler
- getPermissionsCheck() : PermissionsCheck
- getSettingsController() : SettingsController
- getSilentConfigurationUpgradeService() : SilentConfigurationUpgradeService
- getSilentTemplateFileUpgradeService() : SilentTemplateFileUpgradeService
- getUpgradeController() : UpgradeController
- getUpgradeWizardListCommand() : UpgradeWizardListCommand
- getUpgradeWizardRunCommand() : UpgradeWizardRunCommand
- getUpgradeWizardsService() : UpgradeWizardsService
- getWebServerConfigurationFileService() : WebServerConfigurationFileService
- getPackagePath() : string
- Return the path to the package location, including trailing slash should return the value of: __DIR__ . '/../' for ServiceProviders located in the Classes/ directory
- new() : mixed
- Create an instance of a class. Supports auto injection of the logger.
Methods
configureBackendRoutes()
public
static configureBackendRoutes(ContainerInterface $container, ArrayObject $routes[, string|null $path = null ]) : ArrayObject
Parameters
- $container : ContainerInterface
- $routes : ArrayObject
- $path : string|null = null
-
supplied when invoked internally through PseudoServiceProvider
Return values
ArrayObjectconfigureCommands()
public
static configureCommands(ContainerInterface $container, CommandRegistry $commandRegistry) : CommandRegistry
Parameters
- $container : ContainerInterface
- $commandRegistry : CommandRegistry
Return values
CommandRegistryconfigureIcons()
public
static configureIcons(ContainerInterface $container, ArrayObject $icons[, string|null $path = null ]) : ArrayObject
Parameters
- $container : ContainerInterface
- $icons : ArrayObject
- $path : string|null = null
Return values
ArrayObjectconfigureMiddlewares()
public
static configureMiddlewares(ContainerInterface $container, ArrayObject $middlewares[, string|null $path = null ]) : ArrayObject
Parameters
- $container : ContainerInterface
- $middlewares : ArrayObject
- $path : string|null = null
-
supplied when invoked internally through PseudoServiceProvider
Return values
ArrayObjectgetApplication()
public
static getApplication(ContainerInterface $container) : Application
Parameters
- $container : ContainerInterface
Return values
ApplicationgetClearCacheService()
public
static getClearCacheService(ContainerInterface $container) : ClearCacheService
Parameters
- $container : ContainerInterface
Return values
ClearCacheServicegetCoreUpdateService()
public
static getCoreUpdateService(ContainerInterface $container) : CoreUpdateService
Parameters
- $container : ContainerInterface
Return values
CoreUpdateServicegetCoreVersionService()
public
static getCoreVersionService(ContainerInterface $container) : CoreVersionService
Parameters
- $container : ContainerInterface
Return values
CoreVersionServicegetEnvironmentController()
public
static getEnvironmentController(ContainerInterface $container) : EnvironmentController
Parameters
- $container : ContainerInterface
Return values
EnvironmentControllergetExtensionConfigurationService()
public
static getExtensionConfigurationService(ContainerInterface $container) : ExtensionConfigurationService
Parameters
- $container : ContainerInterface
Return values
ExtensionConfigurationServicegetExtensions()
Returns a list of all container entries extended by this service provider.
public
getExtensions() : array<string|int, mixed>
Return values
array<string|int, mixed>getFactories()
Returns a list of all container entries registered by this service provider.
public
getFactories() : array<string|int, mixed>
Return values
array<string|int, mixed>getIconController()
public
static getIconController(ContainerInterface $container) : IconController
Parameters
- $container : ContainerInterface
Return values
IconControllergetInstallerController()
public
static getInstallerController(ContainerInterface $container) : InstallerController
Parameters
- $container : ContainerInterface
Return values
InstallerControllergetInstallerMiddleware()
public
static getInstallerMiddleware(ContainerInterface $container) : Installer
Parameters
- $container : ContainerInterface
Return values
InstallergetLanguagePackCommand()
public
static getLanguagePackCommand(ContainerInterface $container) : LanguagePackCommand
Parameters
- $container : ContainerInterface
Return values
LanguagePackCommandgetLanguagePackService()
public
static getLanguagePackService(ContainerInterface $container) : LanguagePackService
Parameters
- $container : ContainerInterface
Return values
LanguagePackServicegetLateBootService()
public
static getLateBootService(ContainerInterface $container) : LateBootService
Parameters
- $container : ContainerInterface
Return values
LateBootServicegetLayoutController()
public
static getLayoutController(ContainerInterface $container) : LayoutController
Parameters
- $container : ContainerInterface
Return values
LayoutControllergetLoadTcaService()
public
static getLoadTcaService(ContainerInterface $container) : LoadTcaService
Parameters
- $container : ContainerInterface
Return values
LoadTcaServicegetLoginController()
public
static getLoginController(ContainerInterface $container) : LoginController
Parameters
- $container : ContainerInterface
Return values
LoginControllergetMaintenanceController()
public
static getMaintenanceController(ContainerInterface $container) : MaintenanceController
Parameters
- $container : ContainerInterface
Return values
MaintenanceControllergetMaintenanceMiddleware()
public
static getMaintenanceMiddleware(ContainerInterface $container) : Maintenance
Parameters
- $container : ContainerInterface
Return values
MaintenancegetNotFoundRequestHandler()
public
static getNotFoundRequestHandler(ContainerInterface $container) : NotFoundRequestHandler
Parameters
- $container : ContainerInterface
Return values
NotFoundRequestHandlergetPermissionsCheck()
public
static getPermissionsCheck(ContainerInterface $container) : PermissionsCheck
Parameters
- $container : ContainerInterface
Return values
PermissionsCheckgetSettingsController()
public
static getSettingsController(ContainerInterface $container) : SettingsController
Parameters
- $container : ContainerInterface
Return values
SettingsControllergetSilentConfigurationUpgradeService()
public
static getSilentConfigurationUpgradeService(ContainerInterface $container) : SilentConfigurationUpgradeService
Parameters
- $container : ContainerInterface
Return values
SilentConfigurationUpgradeServicegetSilentTemplateFileUpgradeService()
public
static getSilentTemplateFileUpgradeService(ContainerInterface $container) : SilentTemplateFileUpgradeService
Parameters
- $container : ContainerInterface
Return values
SilentTemplateFileUpgradeServicegetUpgradeController()
public
static getUpgradeController(ContainerInterface $container) : UpgradeController
Parameters
- $container : ContainerInterface
Return values
UpgradeControllergetUpgradeWizardListCommand()
public
static getUpgradeWizardListCommand(ContainerInterface $container) : UpgradeWizardListCommand
Parameters
- $container : ContainerInterface
Return values
UpgradeWizardListCommandgetUpgradeWizardRunCommand()
public
static getUpgradeWizardRunCommand(ContainerInterface $container) : UpgradeWizardRunCommand
Parameters
- $container : ContainerInterface
Return values
UpgradeWizardRunCommandgetUpgradeWizardsService()
public
static getUpgradeWizardsService(ContainerInterface $container) : UpgradeWizardsService
Parameters
- $container : ContainerInterface
Return values
UpgradeWizardsServicegetWebServerConfigurationFileService()
public
static getWebServerConfigurationFileService(ContainerInterface $container) : WebServerConfigurationFileService
Parameters
- $container : ContainerInterface
Return values
WebServerConfigurationFileServicegetPackagePath()
Return the path to the package location, including trailing slash should return the value of: __DIR__ . '/../' for ServiceProviders located in the Classes/ directory
protected
static getPackagePath() : string
Return values
stringnew()
Create an instance of a class. Supports auto injection of the logger.
protected
static new(ContainerInterface $container, string $className[, array<string|int, mixed> $constructorArguments = [] ]) : mixed
Parameters
- $container : ContainerInterface
- $className : string
-
name of the class to instantiate, must not be empty and not start with a backslash
- $constructorArguments : array<string|int, mixed> = []
-
Arguments for the constructor