original_string: public function getPath()
      {
          $stack = array($this->getName());
          $current = $this;
  
          while ($parent = $current->getParent()) {
              array_unshift($stack, $parent->getName());
              $current = $parent;
          }
  
          return implode('/', $stack);
      }
code: public function getPath()
      {
          $stack = array($this->getName());
          $current = $this;
  
          while ($parent = $current->getParent()) {
              array_unshift($stack, $parent->getName());
              $current = $parent;
          }
  
          return implode('/', $stack);
      }
code_tokens: public function getPath ( ) { $ stack = array ( $ this -> getName ( ) ) ; $ current = $ this ; while ( $ parent = $ current -> getParent ( ) ) { array_unshift ( $ stack , $ parent -> getName ( ) ) ; $ current = $ parent ; } return implode ( '/' , $ stack ) ; }
docstring: returns the path name
  
  @return string
docstring_tokens: returns the path name