function Bundle::createContainerExtension
Creates the bundle's container extension.
1 call to Bundle::createContainerExtension()
- Bundle::getContainerExtension in vendor/
symfony/ http-kernel/ Bundle/ Bundle.php - Returns the bundle's container extension.
File
-
vendor/
symfony/ http-kernel/ Bundle/ Bundle.php, line 141
Class
- Bundle
- An implementation of BundleInterface that adds a few conventions for DependencyInjection extensions.
Namespace
Symfony\Component\HttpKernel\BundleCode
protected function createContainerExtension() : ?ExtensionInterface {
return class_exists($class = $this->getContainerExtensionClass()) ? new $class() : null;
}