ServiceProvider extends AbstractServiceProvider
Table of Contents
Methods
- configureBackendRoutes() : ArrayObject
- configureCommands() : CommandRegistry
- configureIconRegistry() : IconRegistry
- configureIcons() : ArrayObject
- configureMiddlewares() : ArrayObject
- extendEventListenerProvider() : ListenerProvider
- getBootService() : BootService
- getCacheFlushCommand() : CacheFlushCommand
- getCacheManager() : CacheManager
- getCacheWarmupCommand() : CacheWarmupCommand
- getCharsetConverter() : CharsetConverter
- getConnectionPool() : ConnectionPool
- getConsoleCommandApplication() : CommandApplication
- getConsoleCommandRegistry() : CommandRegistry
- getContext() : Context
- getDependencyOrderingService() : DependencyOrderingService
- getDriverRegistry() : DriverRegistry
- getDumpAutoloadCommand() : DumpAutoloadCommand
- getEventDispatcher() : EventDispatcher
- getEventListenerProvider() : ListenerProvider
- 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.
- getFailsafePackageManager() : FailsafePackageManager
- getFileIndexRepository() : FileIndexRepository
- getFlashMessageService() : FlashMessageService
- getFlexFormService() : FlexFormService
- getFontawesomeIconProvider() : FontawesomeIconProvider
- getHelpCommand() : HelpCommand
- getIconFactory() : IconFactory
- getIconRegistry() : IconRegistry
- getIcons() : ArrayObject
- getLanguageServiceFactory() : LanguageServiceFactory
- getLanguageStore() : LanguageStore
- getListCommand() : ListCommand
- getLocales() : Locales
- getLocalizationFactory() : LocalizationFactory
- getMailTransportFactory() : TransportFactory
- getMetaDataRepository() : MetaDataRepository
- getMiddlewares() : ArrayObject
- getMiddlewareStackResolver() : MiddlewareStackResolver
- getOpcodeCacheService() : OpcodeCacheService
- getPackageDependentCacheIdentifier() : PackageDependentCacheIdentifier
- getPasswordHashFactory() : PasswordHashFactory
- getProcessedFileRepository() : ProcessedFileRepository
- getRegistry() : Registry
- getRequestFactory() : RequestFactory
- getResourceFactory() : ResourceFactory
- getResponsePropagationMiddleware() : ResponsePropagation
- getSiteConfiguration() : SiteConfiguration
- getStorageRepository() : StorageRepository
- getSymfonyEventDispatcher() : EventDispatcherInterface
- getTimeTracker() : TimeTracker
- getTypoScriptConstantConfigurationParser() : ConstantConfigurationParser
- getTypoScriptService() : TypoScriptService
- getVerifyHostHeaderMiddleware() : VerifyHostHeader
- provideFallbackEventDispatcher() : EventDispatcherInterface
- 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
CommandRegistryconfigureIconRegistry()
public
static configureIconRegistry(ContainerInterface $container, IconRegistry $iconRegistry) : IconRegistry
Parameters
- $container : ContainerInterface
- $iconRegistry : IconRegistry
Return values
IconRegistryconfigureIcons()
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
ArrayObjectextendEventListenerProvider()
public
static extendEventListenerProvider(ContainerInterface $container, ListenerProvider $listenerProvider) : ListenerProvider
Parameters
- $container : ContainerInterface
- $listenerProvider : ListenerProvider
Return values
ListenerProvidergetBootService()
public
static getBootService(ContainerInterface $container) : BootService
Parameters
- $container : ContainerInterface
Return values
BootServicegetCacheFlushCommand()
public
static getCacheFlushCommand(ContainerInterface $container) : CacheFlushCommand
Parameters
- $container : ContainerInterface
Return values
CacheFlushCommandgetCacheManager()
public
static getCacheManager(ContainerInterface $container) : CacheManager
Parameters
- $container : ContainerInterface
Return values
CacheManagergetCacheWarmupCommand()
public
static getCacheWarmupCommand(ContainerInterface $container) : CacheWarmupCommand
Parameters
- $container : ContainerInterface
Return values
CacheWarmupCommandgetCharsetConverter()
public
static getCharsetConverter(ContainerInterface $container) : CharsetConverter
Parameters
- $container : ContainerInterface
Return values
CharsetConvertergetConnectionPool()
public
static getConnectionPool(ContainerInterface $container) : ConnectionPool
Parameters
- $container : ContainerInterface
Return values
ConnectionPoolgetConsoleCommandApplication()
public
static getConsoleCommandApplication(ContainerInterface $container) : CommandApplication
Parameters
- $container : ContainerInterface
Return values
CommandApplicationgetConsoleCommandRegistry()
public
static getConsoleCommandRegistry(ContainerInterface $container) : CommandRegistry
Parameters
- $container : ContainerInterface
Return values
CommandRegistrygetContext()
public
static getContext(ContainerInterface $container) : Context
Parameters
- $container : ContainerInterface
Return values
ContextgetDependencyOrderingService()
public
static getDependencyOrderingService(ContainerInterface $container) : DependencyOrderingService
Parameters
- $container : ContainerInterface
Return values
DependencyOrderingServicegetDriverRegistry()
public
static getDriverRegistry(ContainerInterface $container) : DriverRegistry
Parameters
- $container : ContainerInterface
Return values
DriverRegistrygetDumpAutoloadCommand()
public
static getDumpAutoloadCommand(ContainerInterface $container) : DumpAutoloadCommand
Parameters
- $container : ContainerInterface
Return values
DumpAutoloadCommandgetEventDispatcher()
public
static getEventDispatcher(ContainerInterface $container) : EventDispatcher
Parameters
- $container : ContainerInterface
Return values
EventDispatchergetEventListenerProvider()
public
static getEventListenerProvider(ContainerInterface $container) : ListenerProvider
Parameters
- $container : ContainerInterface
Return values
ListenerProvidergetExtensions()
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>getFailsafePackageManager()
public
static getFailsafePackageManager(ContainerInterface $container) : FailsafePackageManager
Parameters
- $container : ContainerInterface
Return values
FailsafePackageManagergetFileIndexRepository()
public
static getFileIndexRepository(ContainerInterface $container) : FileIndexRepository
Parameters
- $container : ContainerInterface
Return values
FileIndexRepositorygetFlashMessageService()
public
static getFlashMessageService(ContainerInterface $container) : FlashMessageService
Parameters
- $container : ContainerInterface
Return values
FlashMessageServicegetFlexFormService()
public
static getFlexFormService(ContainerInterface $container) : FlexFormService
Parameters
- $container : ContainerInterface
Return values
FlexFormServicegetFontawesomeIconProvider()
public
static getFontawesomeIconProvider(ContainerInterface $container) : FontawesomeIconProvider
Parameters
- $container : ContainerInterface
Return values
FontawesomeIconProvidergetHelpCommand()
public
static getHelpCommand(ContainerInterface $container) : HelpCommand
Parameters
- $container : ContainerInterface
Return values
HelpCommandgetIconFactory()
public
static getIconFactory(ContainerInterface $container) : IconFactory
Parameters
- $container : ContainerInterface
Return values
IconFactorygetIconRegistry()
public
static getIconRegistry(ContainerInterface $container) : IconRegistry
Parameters
- $container : ContainerInterface
Return values
IconRegistrygetIcons()
public
static getIcons(ContainerInterface $container) : ArrayObject
Parameters
- $container : ContainerInterface
Return values
ArrayObjectgetLanguageServiceFactory()
public
static getLanguageServiceFactory(ContainerInterface $container) : LanguageServiceFactory
Parameters
- $container : ContainerInterface
Return values
LanguageServiceFactorygetLanguageStore()
public
static getLanguageStore(ContainerInterface $container) : LanguageStore
Parameters
- $container : ContainerInterface
Return values
LanguageStoregetListCommand()
public
static getListCommand(ContainerInterface $container) : ListCommand
Parameters
- $container : ContainerInterface
Return values
ListCommandgetLocales()
public
static getLocales(ContainerInterface $container) : Locales
Parameters
- $container : ContainerInterface
Return values
LocalesgetLocalizationFactory()
public
static getLocalizationFactory(ContainerInterface $container) : LocalizationFactory
Parameters
- $container : ContainerInterface
Return values
LocalizationFactorygetMailTransportFactory()
public
static getMailTransportFactory(ContainerInterface $container) : TransportFactory
Parameters
- $container : ContainerInterface
Return values
TransportFactorygetMetaDataRepository()
public
static getMetaDataRepository(ContainerInterface $container) : MetaDataRepository
Parameters
- $container : ContainerInterface
Return values
MetaDataRepositorygetMiddlewares()
public
static getMiddlewares(ContainerInterface $container) : ArrayObject
Parameters
- $container : ContainerInterface
Return values
ArrayObjectgetMiddlewareStackResolver()
public
static getMiddlewareStackResolver(ContainerInterface $container) : MiddlewareStackResolver
Parameters
- $container : ContainerInterface
Return values
MiddlewareStackResolvergetOpcodeCacheService()
public
static getOpcodeCacheService(ContainerInterface $container) : OpcodeCacheService
Parameters
- $container : ContainerInterface
Return values
OpcodeCacheServicegetPackageDependentCacheIdentifier()
public
static getPackageDependentCacheIdentifier(ContainerInterface $container) : PackageDependentCacheIdentifier
Parameters
- $container : ContainerInterface
Return values
PackageDependentCacheIdentifiergetPasswordHashFactory()
public
static getPasswordHashFactory(ContainerInterface $container) : PasswordHashFactory
Parameters
- $container : ContainerInterface
Return values
PasswordHashFactorygetProcessedFileRepository()
public
static getProcessedFileRepository(ContainerInterface $container) : ProcessedFileRepository
Parameters
- $container : ContainerInterface
Return values
ProcessedFileRepositorygetRegistry()
public
static getRegistry(ContainerInterface $container) : Registry
Parameters
- $container : ContainerInterface
Return values
RegistrygetRequestFactory()
public
static getRequestFactory(ContainerInterface $container) : RequestFactory
Parameters
- $container : ContainerInterface
Return values
RequestFactorygetResourceFactory()
public
static getResourceFactory(ContainerInterface $container) : ResourceFactory
Parameters
- $container : ContainerInterface
Return values
ResourceFactorygetResponsePropagationMiddleware()
public
static getResponsePropagationMiddleware(ContainerInterface $container) : ResponsePropagation
Parameters
- $container : ContainerInterface
Return values
ResponsePropagationgetSiteConfiguration()
public
static getSiteConfiguration(ContainerInterface $container) : SiteConfiguration
Parameters
- $container : ContainerInterface
Return values
SiteConfigurationgetStorageRepository()
public
static getStorageRepository(ContainerInterface $container) : StorageRepository
Parameters
- $container : ContainerInterface
Return values
StorageRepositorygetSymfonyEventDispatcher()
public
static getSymfonyEventDispatcher(ContainerInterface $container) : EventDispatcherInterface
Parameters
- $container : ContainerInterface
Return values
EventDispatcherInterfacegetTimeTracker()
public
static getTimeTracker(ContainerInterface $container) : TimeTracker
Parameters
- $container : ContainerInterface
Return values
TimeTrackergetTypoScriptConstantConfigurationParser()
public
static getTypoScriptConstantConfigurationParser(ContainerInterface $container) : ConstantConfigurationParser
Parameters
- $container : ContainerInterface
Return values
ConstantConfigurationParsergetTypoScriptService()
public
static getTypoScriptService(ContainerInterface $container) : TypoScriptService
Parameters
- $container : ContainerInterface
Return values
TypoScriptServicegetVerifyHostHeaderMiddleware()
public
static getVerifyHostHeaderMiddleware(ContainerInterface $container) : VerifyHostHeader
Parameters
- $container : ContainerInterface
Return values
VerifyHostHeaderprovideFallbackEventDispatcher()
public
static provideFallbackEventDispatcher(ContainerInterface $container[, EventDispatcherInterface|null $eventDispatcher = null ]) : EventDispatcherInterface
Parameters
- $container : ContainerInterface
- $eventDispatcher : EventDispatcherInterface|null = null
Return values
EventDispatcherInterfacegetPackagePath()
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