Zephir\ClassDefinition::setMethod PHP Метод

setMethod() публичный Метод

Set a method and its body
public setMethod ( $methodName, ClassMethod $method )
$methodName
$method ClassMethod
    public function setMethod($methodName, ClassMethod $method)
    {
        $this->methods[$methodName] = $method;
    }