original_string: public function getSegments($append_langcode = false, $path = '')
      {
          if (empty($path)) {
              $path = $this->path($append_langcode);
          }
  
          return explode('/', trim($path, '/'));
      }
code: public function getSegments($append_langcode = false, $path = '')
      {
          if (empty($path)) {
              $path = $this->path($append_langcode);
          }
  
          return explode('/', trim($path, '/'));
      }
code_tokens: public function getSegments ( $ append_langcode = false , $ path = '' ) { if ( empty ( $ path ) ) { $ path = $ this -> path ( $ append_langcode ) ; } return explode ( '/' , trim ( $ path , '/' ) ) ; }
docstring: Returns an array of path components
  @param boolean $append_langcode
  @param string $path
  @return array
docstring_tokens: Returns an array of path components