protected function getRoutingNodeName()
    {
        $name = strtolower($this->getPackage()->getName());
        // package with the bundle can contain the word a 'bundle' in the name
        $name = preg_replace('/(\/.+)[^a-z]bundle$/', '$1', $name);
        $name = preg_replace('/[^a-z_]+/', '_', $name);

        return $name;
    }
protected function getRoutingNodeName()
    {
        $name = strtolower($this->getPackage()->getName());
        // package with the bundle can contain the word a 'bundle' in the name
        $name = preg_replace('/(\/.+)[^a-z]bundle$/', '$1', $name);
        $name = preg_replace('/[^a-z_]+/', '_', $name);

        return $name;
    }
protected function getRoutingNodeName ( ) { $ name = strtolower ( $ this -> getPackage ( ) -> getName ( ) ) ; // package with the bundle can contain the word a 'bundle' in the name $ name = preg_replace ( '/(\/.+)[^a-z]bundle$/' , '$1' , $ name ) ; $ name = preg_replace ( '/[^a-z_]+/' , '_' , $ name ) ; return $ name ; }
Get the routing node name from the package name.

@return string
Get the routing node name from the package name .