original_string: public function parse($file)
      {
          $result = null;
          $this->hook->attach('help.render.before', $file, $result, $this);
  
          if (isset($result)) {
              return (string) $result;
          }
  
          $result = $this->markdown->render(file_get_contents($file));
          $this->hook->attach('help.render.after', $file, $result, $this);
          return (string) $result;
      }
code: public function parse($file)
      {
          $result = null;
          $this->hook->attach('help.render.before', $file, $result, $this);
  
          if (isset($result)) {
              return (string) $result;
          }
  
          $result = $this->markdown->render(file_get_contents($file));
          $this->hook->attach('help.render.after', $file, $result, $this);
          return (string) $result;
      }
code_tokens: public function parse ( $ file ) { $ result = null ; $ this -> hook -> attach ( 'help.render.before' , $ file , $ result , $ this ) ; if ( isset ( $ result ) ) { return ( string ) $ result ; } $ result = $ this -> markdown -> render ( file_get_contents ( $ file ) ) ; $ this -> hook -> attach ( 'help.render.after' , $ file , $ result , $ this ) ; return ( string ) $ result ; }
docstring: Render a help file
  @param string $file
  @return string
docstring_tokens: Render a help file