src/ProxyManager/ProxyGenerator/LazyLoadingGhostGenerator.php
private function getAbstractProxiedMethods(ReflectionClass $originalClass) : array
    {
        return array_map(
            static function (ReflectionMethod $method) : ProxyManagerMethodGenerator {
                $generated = ProxyManagerMethodGenerator::fromReflectionWithoutBodyAndDocBlock(
                    new MethodReflection($method->getDeclaringClass()->getName(), $method->getName())
                );

                $generated->setAbstract(false);

                return $generated;
            },
            ProxiedMethodsFilter::getAbstractProxiedMethods($originalClass)
        );
    }
private function getAbstractProxiedMethods(ReflectionClass $originalClass) : array
    {
        return array_map(
            static function (ReflectionMethod $method) : ProxyManagerMethodGenerator {
                $generated = ProxyManagerMethodGenerator::fromReflectionWithoutBodyAndDocBlock(
                    new MethodReflection($method->getDeclaringClass()->getName(), $method->getName())
                );

                $generated->setAbstract(false);

                return $generated;
            },
            ProxiedMethodsFilter::getAbstractProxiedMethods($originalClass)
        );
    }
private function getAbstractProxiedMethods ( ReflectionClass $ originalClass ) : array { return array_map ( static function ( ReflectionMethod $ method ) : ProxyManagerMethodGenerator { $ generated = ProxyManagerMethodGenerator :: fromReflectionWithoutBodyAndDocBlock ( new MethodReflection ( $ method -> getDeclaringClass ( ) -> getName ( ) , $ method -> getName ( ) ) ) ; $ generated -> setAbstract ( false ) ; return $ generated ; } , ProxiedMethodsFilter :: getAbstractProxiedMethods ( $ originalClass ) ) ; }
Retrieves all abstract methods to be proxied

@return MethodGenerator[]
Retrieves all abstract methods to be proxied