public function Bundle::getNamespace in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Bundle/Bundle.php \Symfony\Component\HttpKernel\Bundle\Bundle::getNamespace()
Gets the Bundle namespace.
Return value
string The Bundle namespace
Overrides BundleInterface::getNamespace
2 calls to Bundle::getNamespace()
- Bundle::getContainerExtensionClass in vendor/
symfony/ http-kernel/ Bundle/ Bundle.php - Returns the bundle's container extension class.
- Bundle::registerCommands in vendor/
symfony/ http-kernel/ Bundle/ Bundle.php - Finds and registers Commands.
File
- vendor/
symfony/ http-kernel/ Bundle/ Bundle.php, line 105
Class
- Bundle
- An implementation of BundleInterface that adds a few conventions for DependencyInjection extensions and Console commands.
Namespace
Symfony\Component\HttpKernel\BundleCode
public function getNamespace() {
$class = get_class($this);
return substr($class, 0, strrpos($class, '\\'));
}