Neos\Flow\Aop\Builder\ProxyClassBuilder::getMethodsFromTargetClass PHP Метод

getMethodsFromTargetClass() защищенный Метод

Returns the methods of the target class.
protected getMethodsFromTargetClass ( string $targetClassName ) : array
$targetClassName string Name of the target class
Результат array Method information with declaring class and method name pairs
    protected function getMethodsFromTargetClass($targetClassName)
    {
        $methods = [];
        $class = new \ReflectionClass($targetClassName);
        foreach (['__construct', '__clone'] as $builtInMethodName) {
            if (!$class->hasMethod($builtInMethodName)) {
                $methods[] = [$targetClassName, $builtInMethodName];
            }
        }
        foreach ($class->getMethods() as $method) {
            $methods[] = [$targetClassName, $method->getName()];
        }
        return $methods;
    }