src/Proxy/Generator/ProxyCodeGenerator.php
private function getClassMethods(): array
    {
        if (null !== $this->reflectionMethods) {
            return $this->reflectionMethods;
        }

        $this->reflectionMethods = [];

        $class = $this->reflectionClass;

        do {
            $this->reflectionMethods = \array_merge(
                $this->reflectionMethods,
                $class->getMethods()
            );
        } while ($class = $class->getParentClass());

        return $this->reflectionMethods;
    }
private function getClassMethods(): array
    {
        if (null !== $this->reflectionMethods) {
            return $this->reflectionMethods;
        }

        $this->reflectionMethods = [];

        $class = $this->reflectionClass;

        do {
            $this->reflectionMethods = \array_merge(
                $this->reflectionMethods,
                $class->getMethods()
            );
        } while ($class = $class->getParentClass());

        return $this->reflectionMethods;
    }
private function getClassMethods ( ) : array { if ( null !== $ this -> reflectionMethods ) { return $ this -> reflectionMethods ; } $ this -> reflectionMethods = [ ] ; $ class = $ this -> reflectionClass ; do { $ this -> reflectionMethods = \ array_merge ( $ this -> reflectionMethods , $ class -> getMethods ( ) ) ; } while ( $ class = $ class -> getParentClass ( ) ) ; return $ this -> reflectionMethods ; }
Get all methods from class

@return \ReflectionMethod[]
Get all methods from class