public function writeFunctionBody(GFunctionBody $body = NULL, $baseIndent = 0, $eol = "\n") {
    $php = NULL;
    
    $phpBody = $body ? $body->php($baseIndent+2, $eol).$eol : '';

    $php .= ' {';
    //if ($this->cbraceComment != NULL) { // inline comment wie dieser
      //$php .= ' '.$this->cbraceComment;
    //}
    $php .= $eol;
    $php .= $phpBody;
    $php .= S::indent('}', $baseIndent, $eol);
    
    return $php;
  }
public function writeFunctionBody(GFunctionBody $body = NULL, $baseIndent = 0, $eol = "\n") {
    $php = NULL;
    
    $phpBody = $body ? $body->php($baseIndent+2, $eol).$eol : '';

    $php .= ' {';
    //if ($this->cbraceComment != NULL) { // inline comment wie dieser
      //$php .= ' '.$this->cbraceComment;
    //}
    $php .= $eol;
    $php .= $phpBody;
    $php .= S::indent('}', $baseIndent, $eol);
    
    return $php;
  }
public function writeFunctionBody ( GFunctionBody $ body = NULL , $ baseIndent = 0 , $ eol = "\n" ) { $ php = NULL ; $ phpBody = $ body ? $ body -> php ( $ baseIndent + 2 , $ eol ) . $ eol : '' ; $ php .= ' {' ; //if ($this->cbraceComment != NULL) { // inline comment wie dieser //$php .= ' '.$this->cbraceComment; //} $ php .= $ eol ; $ php .= $ phpBody ; $ php .= S :: indent ( '}' , $ baseIndent , $ eol ) ; return $ php ; }
Writes a function body

the function body is from { to }
@return string
Writes a function body