gossi\codegen\tests\model\DocblockTest::getMethod PHP Method

getMethod() private method

private getMethod ( ) : PhpMethod
return gossi\codegen\model\PhpMethod
    private function getMethod()
    {
        return PhpMethod::create(self::METHOD)->setDescription('my method')->setLongDescription('my very long method')->setType('string', 'this method returns a string')->addParameter(PhpParameter::create('a')->setDescription('method-param'));
    }