ContainerFactory
in package
FinalYes
Table of Contents
Properties
- $container : ContainerBuilder
Methods
- __construct() : mixed
- create() : ContainerBuilder
- registerExtension() : void
Properties
$container read-only
private
ContainerBuilder
$container
Methods
__construct()
public
__construct([array<int, ExtensionInterface> $defaultExtensions = [] ]) : mixed
Parameters
- $defaultExtensions : array<int, ExtensionInterface> = []
create()
public
create(string $vendorDir, ExtensionHandler $extensionHandler) : ContainerBuilder
Parameters
- $vendorDir : string
- $extensionHandler : ExtensionHandler
Return values
ContainerBuilderregisterExtension()
private
registerExtension(ExtensionInterface $extension) : void
Parameters
- $extension : ExtensionInterface