original_string: public function getPath(UriInterface $uri)
      {
          $path  = trim($uri->getPath(), '/');
          $parts = explode('/', $path);
  
          if ($parts[0] === 'v'.Client::API_VERSION) {
              unset($parts[0]);
          }
  
          return '/'.implode('/', $parts);
      }
code: public function getPath(UriInterface $uri)
      {
          $path  = trim($uri->getPath(), '/');
          $parts = explode('/', $path);
  
          if ($parts[0] === 'v'.Client::API_VERSION) {
              unset($parts[0]);
          }
  
          return '/'.implode('/', $parts);
      }
code_tokens: public function getPath ( UriInterface $ uri ) { $ path = trim ( $ uri -> getPath ( ) , '/' ) ; $ parts = explode ( '/' , $ path ) ; if ( $ parts [ 0 ] === 'v' . Client :: API_VERSION ) { unset ( $ parts [ 0 ] ) ; } return '/' . implode ( '/' , $ parts ) ; }
docstring: Gets the path from a ``UriInterface`` instance after removing the version
  prefix.
  
  @param UriInterface $uri
  
  @return string
docstring_tokens: Gets the path from a UriInterface instance after removing the version prefix .