original_string: public function getUrl($document)
      {
          $environment = $document->getEnvironment();
  
          return $environment->getUrl() . '.' . $this->kernel->getFileExtension();
      }
code: public function getUrl($document)
      {
          $environment = $document->getEnvironment();
  
          return $environment->getUrl() . '.' . $this->kernel->getFileExtension();
      }
code_tokens: public function getUrl ( $ document ) { $ environment = $ document -> getEnvironment ( ) ; return $ environment -> getUrl ( ) . '.' . $ this -> kernel -> getFileExtension ( ) ; }
docstring: Gets the URL of a target file
docstring_tokens: Gets the URL of a target file