original_string: public function showFile($file, $ref = 'HEAD')
      {
          /** @var $result CallResult */
          $result = $this->getGit()->{'show'}($this->getRepositoryPath(), array(
              sprintf('%s:%s', $ref, $file)
          ));
          $result->assertSuccess(sprintf('Cannot show "%s" at "%s" from "%s"',
              $file, $ref, $this->getRepositoryPath()
          ));
  
  
          return $result->getStdOut();
      }
code: public function showFile($file, $ref = 'HEAD')
      {
          /** @var $result CallResult */
          $result = $this->getGit()->{'show'}($this->getRepositoryPath(), array(
              sprintf('%s:%s', $ref, $file)
          ));
          $result->assertSuccess(sprintf('Cannot show "%s" at "%s" from "%s"',
              $file, $ref, $this->getRepositoryPath()
          ));
  
  
          return $result->getStdOut();
      }
code_tokens: public function showFile ( $ file , $ ref = 'HEAD' ) { /** @var $result CallResult */ $ result = $ this -> getGit ( ) -> { 'show' } ( $ this -> getRepositoryPath ( ) , array ( sprintf ( '%s:%s' , $ ref , $ file ) ) ) ; $ result -> assertSuccess ( sprintf ( 'Cannot show "%s" at "%s" from "%s"' , $ file , $ ref , $ this -> getRepositoryPath ( ) ) ) ; return $ result -> getStdOut ( ) ; }
docstring: Returns the content of a file at a given version
  
  @param   string  $file       The path to the file
  @param   string  $ref        The version ref
  @return  string
docstring_tokens: Returns the content of a file at a given version