public setMethod ( integer $methodFlags, string $methodName, boolean $byReference, string $body, string $parameters ) : static | ||
$methodFlags | integer | See ReflectionMethod modifiers |
$methodName | string | Name of the method |
$byReference | boolean | Is method should return value by reference |
$body | string | Body of method |
$parameters | string | Definition of parameters |
return | static |