gossi\codegen\model\RoutineInterface::getBody PHP Method

getBody() public method

Returns the body
public getBody ( ) : string
return string
    public function getBody();

Usage Example

 protected function writeBody(RoutineInterface $model)
 {
     $this->writer->writeln(' {')->indent();
     $this->writer->writeln(trim($model->getBody()));
     $this->writer->outdent()->rtrim()->writeln('}');
 }