original_string: protected function getComponentTitle($componentId)
      {
          $component      =& $this->graphComponents[$componentId];
          $componentTitle = implode('/', array_filter(array_merge($component['path'], [$component['id']])));
          $componentTitle .= ' ('.$component['class'].')';
  
          return $componentTitle;
      }
code: protected function getComponentTitle($componentId)
      {
          $component      =& $this->graphComponents[$componentId];
          $componentTitle = implode('/', array_filter(array_merge($component['path'], [$component['id']])));
          $componentTitle .= ' ('.$component['class'].')';
  
          return $componentTitle;
      }
code_tokens: protected function getComponentTitle ( $ componentId ) { $ component = & $ this -> graphComponents [ $ componentId ] ; $ componentTitle = implode ( '/' , array_filter ( array_merge ( $ component [ 'path' ] , [ $ component [ 'id' ] ] ) ) ) ; $ componentTitle .= ' (' . $ component [ 'class' ] . ')' ; return $ componentTitle ; }
docstring: Create and return an component title
  
  @param string $componentId Component ID
  
  @return string Component title
docstring_tokens: Create and return an component title