You are here

protected function Bundle::getContainerExtensionClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Bundle/Bundle.php \Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtensionClass()

Returns the bundle's container extension class.

Return value

string

1 call to Bundle::getContainerExtensionClass()
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 197

Class

Bundle
An implementation of BundleInterface that adds a few conventions for DependencyInjection extensions and Console commands.

Namespace

Symfony\Component\HttpKernel\Bundle

Code

protected function getContainerExtensionClass() {
  $basename = preg_replace('/Bundle$/', '', $this
    ->getName());
  return $this
    ->getNamespace() . '\\DependencyInjection\\' . $basename . 'Extension';
}