From 474272a16e129ffb4793c2afa593a6d24539cfd5 Mon Sep 17 00:00:00 2001 From: Bas Kamer Date: Wed, 13 Jan 2016 13:37:38 +0100 Subject: [PATCH] docs --- doc/book/zend.code.generator.reference.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/book/zend.code.generator.reference.md b/doc/book/zend.code.generator.reference.md index 473b6586..0600d2d4 100644 --- a/doc/book/zend.code.generator.reference.md +++ b/doc/book/zend.code.generator.reference.md @@ -119,7 +119,13 @@ class Zend\Code\Generator\ClassGenerator extends Zend\Code\Generator\AbstractGen public function getProperties() public function getProperty($propertyName) public function addMethods(Array $methods) - public function addMethod($method) + public function addMethod( + $name, + Array $parameters = [], + $flags = Zend\Code\Generator\MethodGenerator::FLAG_PUBLIC, + $body = null, + $docBlock = null + ) public function getMethods() public function getMethod($methodName) public function hasMethod($methodName)