Library/ClassDefinition.php
public function getLocalOrParentInitMethod()
    {
        $method = $this->getInitMethod();
        if ($method) {
            $parentClassDefinition = $this->getExtendsClassDefinition();
            if ($parentClassDefinition instanceof self) {
                $method = $parentClassDefinition->getInitMethod();
                if ($method) {
                    $this->addInitMethod($method->getStatementsBlock());
                }
            }
        }

        return $method;
    }
public function getLocalOrParentInitMethod()
    {
        $method = $this->getInitMethod();
        if ($method) {
            $parentClassDefinition = $this->getExtendsClassDefinition();
            if ($parentClassDefinition instanceof self) {
                $method = $parentClassDefinition->getInitMethod();
                if ($method) {
                    $this->addInitMethod($method->getStatementsBlock());
                }
            }
        }

        return $method;
    }
public function getLocalOrParentInitMethod ( ) { $ method = $ this -> getInitMethod ( ) ; if ( $ method ) { $ parentClassDefinition = $ this -> getExtendsClassDefinition ( ) ; if ( $ parentClassDefinition instanceof self ) { $ method = $ parentClassDefinition -> getInitMethod ( ) ; if ( $ method ) { $ this -> addInitMethod ( $ method -> getStatementsBlock ( ) ) ; } } } return $ method ; }
Returns the initialization method if any does exist.

@return ClassMethod
Returns the initialization method if any does exist .