Zephir\ClassDefinition::getInitMethod PHP 메소드

getInitMethod() 공개 메소드

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