original_string: public function getFile($name)
      {
          if ($file = $this->resolveFile($name)) {
              return $file;
          } else {
              $components = $this->parseResource($name);
              throw new \RuntimeException(sprintf('Template "%s" not found in directories "%s"', $components['file'], implode('", "', $components['dirs'])));
          }
      }
code: public function getFile($name)
      {
          if ($file = $this->resolveFile($name)) {
              return $file;
          } else {
              $components = $this->parseResource($name);
              throw new \RuntimeException(sprintf('Template "%s" not found in directories "%s"', $components['file'], implode('", "', $components['dirs'])));
          }
      }
code_tokens: public function getFile ( $ name ) { if ( $ file = $ this -> resolveFile ( $ name ) ) { return $ file ; } else { $ components = $ this -> parseResource ( $ name ) ; throw new \ RuntimeException ( sprintf ( 'Template "%s" not found in directories "%s"' , $ components [ 'file' ] , implode ( '", "' , $ components [ 'dirs' ] ) ) ) ; } }
docstring: Get the template file by name
  
  @param  string    $name The name of template
  @return string    The template file path
  @throws \RuntimeException When template file not found
docstring_tokens: Get the template file by name