Pop\Code\Generator\InterfaceGenerator::formatMethods PHP Method

formatMethods() protected method

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