Zend\Code\Generator\MethodGenerator::__construct
Signature
public function __construct([string
$name = null,
[array
$parameters = self::FLAG_PUBLIC,
[int|array
$flags = self::FLAG_PUBLIC,
[string
$body = null,
[DocBlockGenerator|string
$docBlock = null]]]]] )
Parameters
$name
— string$parameters
— array$flags
— object
$body
— string$docBlock
— object