src/ClassGeneration/PhpClass.php
protected function createMethodsFromAbstractClass($abstractClass)
    {
        if (!class_exists($abstractClass)) {
            return;
        }

        $refExtends = new \ReflectionClass($abstractClass);
        $methodsRef = $refExtends->getMethods();
        foreach ($methodsRef as $methodRef) {
            if (!$methodRef->isAbstract() || $this->getMethodCollection()->exists($methodRef->getName())) {
                continue;
            }

            $method = Method::createFromReflection($methodRef);
            $this->addMethod($method);
        }
    }
protected function createMethodsFromAbstractClass($abstractClass)
    {
        if (!class_exists($abstractClass)) {
            return;
        }

        $refExtends = new \ReflectionClass($abstractClass);
        $methodsRef = $refExtends->getMethods();
        foreach ($methodsRef as $methodRef) {
            if (!$methodRef->isAbstract() || $this->getMethodCollection()->exists($methodRef->getName())) {
                continue;
            }

            $method = Method::createFromReflection($methodRef);
            $this->addMethod($method);
        }
    }
protected function createMethodsFromAbstractClass ( $ abstractClass ) { if ( ! class_exists ( $ abstractClass ) ) { return ; } $ refExtends = new \ ReflectionClass ( $ abstractClass ) ; $ methodsRef = $ refExtends -> getMethods ( ) ; foreach ( $ methodsRef as $ methodRef ) { if ( ! $ methodRef -> isAbstract ( ) || $ this -> getMethodCollection ( ) -> exists ( $ methodRef -> getName ( ) ) ) { continue ; } $ method = Method :: createFromReflection ( $ methodRef ) ; $ this -> addMethod ( $ method ) ; } }
Creates methods from Abstract.

@param string $abstractClass

@return void
Creates methods from Abstract .