original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Get the routing node name from the package name.
  
  @return string
docstring_tokens: Get the routing node name from the package name .