public function writeMethod(GMethod $method, $baseIndent = 0, $eol = "\n") {
    $php = NULL;
    
    if ($method->hasDocBlock()) {
      $php = $this->writeDocBlock($method->getDocBlock(), $baseIndent, $eol);
    }
    
    // vor die modifier muss das indent
    $php .= str_repeat(' ', $baseIndent);
    
    $php .= $this->writeModifiers($method->getModifiers());
    $php .= $this->writeGFunction($method, $baseIndent, $eol);
    
    return $php;
  }
public function writeMethod(GMethod $method, $baseIndent = 0, $eol = "\n") {
    $php = NULL;
    
    if ($method->hasDocBlock()) {
      $php = $this->writeDocBlock($method->getDocBlock(), $baseIndent, $eol);
    }
    
    // vor die modifier muss das indent
    $php .= str_repeat(' ', $baseIndent);
    
    $php .= $this->writeModifiers($method->getModifiers());
    $php .= $this->writeGFunction($method, $baseIndent, $eol);
    
    return $php;
  }
public function writeMethod ( GMethod $ method , $ baseIndent = 0 , $ eol = "\n" ) { $ php = NULL ; if ( $ method -> hasDocBlock ( ) ) { $ php = $ this -> writeDocBlock ( $ method -> getDocBlock ( ) , $ baseIndent , $ eol ) ; } // vor die modifier muss das indent $ php .= str_repeat ( ' ' , $ baseIndent ) ; $ php .= $ this -> writeModifiers ( $ method -> getModifiers ( ) ) ; $ php .= $ this -> writeGFunction ( $ method , $ baseIndent , $ eol ) ; return $ php ; }
returns the PHP Code for a GMethod

after } is no LF
@return string
returns the PHP Code for a GMethod