protected function formatMethods() { $methods = null; foreach ($this->methods as $method) { $method->setInterface(true); $methods .= PHP_EOL . $method->render(true); } return $methods; }