src/ClassGenerator/Template/Method/BaseMethodTemplate.php
public function addBlockToBody($block)
    {
        $this->body = array_merge($this->body, explode(PHP_EOL, $block));
    }
public function addBlockToBody($block)
    {
        $this->body = array_merge($this->body, explode(PHP_EOL, $block));
    }
Add an entire block of code to the body of this method

@param string $block