gossi\codegen\tests\model\DocblockTest::getMethod PHP 메소드

getMethod() 개인적인 메소드

private getMethod ( ) : PhpMethod
리턴 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'));
    }