Zephir\ClassDefinition::getInitMethod PHP Method

getInitMethod() public method

Returns the initialization method if any does exist
public getInitMethod ( ) : ClassMethod
return ClassMethod
    public function getInitMethod()
    {
        $initClassName = $this->getCNamespace() . '_' . $this->getName();
        return $this->getMethod('zephir_init_properties_' . $initClassName);
    }