public function render($ret = false)
{
$this->output = null !== $this->namespace ? $this->namespace->render(true) . PHP_EOL : null;
$this->output .= null !== $this->docblock ? $this->docblock->render(true) : null;
$this->output .= 'interface ' . $this->name;
if (null !== $this->parent) {
$this->output .= ' extends ' . $this->parent;
}
$this->output .= PHP_EOL . '{' . PHP_EOL;
$this->output .= $this->formatMethods() . PHP_EOL;
$this->output .= '}' . PHP_EOL;
if ($ret) {
return $this->output;
} else {
echo $this->output;
}
}