public function getBundleNamespaceRoot()
    {
        $bundleParts = explode('\\', $this->getNamespace());
        unset($bundleParts[count($bundleParts) - 1]);

        return implode('\\', $bundleParts);
    }
public function getBundleNamespaceRoot()
    {
        $bundleParts = explode('\\', $this->getNamespace());
        unset($bundleParts[count($bundleParts) - 1]);

        return implode('\\', $bundleParts);
    }
public function getBundleNamespaceRoot ( ) { $ bundleParts = explode ( '\\' , $ this -> getNamespace ( ) ) ; unset ( $ bundleParts [ count ( $ bundleParts ) - 1 ] ) ; return implode ( '\\' , $ bundleParts ) ; }
Get Bundle name.

@return string Bundle name
Get Bundle name .