ContainerBuilder
Table of Contents
Properties
- $cacheIdentifiers : array<string|int, mixed>
- $defaultServices : array<string|int, mixed>
- $serviceProviderRegistryServiceName : string
Methods
- __construct() : mixed
- createDependencyInjectionContainer() : ContainerInterface
- getCacheIdentifier() : string
- warmupCache() : void
- buildContainer() : ContainerBuilder
- createCacheIdentifier() : string
- dumpContainer() : string
Properties
$cacheIdentifiers
protected
array<string|int, mixed>
$cacheIdentifiers
$defaultServices
protected
array<string|int, mixed>
$defaultServices
$serviceProviderRegistryServiceName
protected
string
$serviceProviderRegistryServiceName
= 'service_provider_registry'
Methods
__construct()
public
__construct(array<string|int, mixed> $earlyInstances) : mixed
Parameters
- $earlyInstances : array<string|int, mixed>
createDependencyInjectionContainer()
public
createDependencyInjectionContainer(PackageManager $packageManager, FrontendInterface $cache[, bool $failsafe = false ]) : ContainerInterface
Parameters
- $packageManager : PackageManager
- $cache : FrontendInterface
- $failsafe : bool = false
Return values
ContainerInterfacegetCacheIdentifier()
public
getCacheIdentifier(PackageManager $packageManager) : string
Parameters
- $packageManager : PackageManager
may only be used in this class or in functional tests
Return values
stringwarmupCache()
public
warmupCache(PackageManager $packageManager, FrontendInterface $cache) : void
Parameters
- $packageManager : PackageManager
- $cache : FrontendInterface
buildContainer()
protected
buildContainer(PackageManager $packageManager, ServiceProviderRegistry $registry) : ContainerBuilder
Parameters
- $packageManager : PackageManager
- $registry : ServiceProviderRegistry
Return values
ContainerBuildercreateCacheIdentifier()
protected
createCacheIdentifier(PackageManager $packageManager, string $additionalIdentifier) : string
Parameters
- $packageManager : PackageManager
- $additionalIdentifier : string
Return values
stringdumpContainer()
protected
dumpContainer(ContainerBuilder $containerBuilder, FrontendInterface $cache, string $cacheIdentifier) : string
Parameters
- $containerBuilder : ContainerBuilder
- $cache : FrontendInterface
- $cacheIdentifier : string