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;
  }