Go\Proxy\FunctionProxy::getJoinPoint PHP Метод

getJoinPoint() публичный статический Метод

Returns a joinpoint for specific function in the namespace
public static getJoinPoint ( string $joinPointName, string $namespace ) : Go\Aop\Intercept\FunctionInvocation
$joinPointName string Special joinpoint name
$namespace string Name of the namespace
Результат Go\Aop\Intercept\FunctionInvocation
    public static function getJoinPoint($joinPointName, $namespace)
    {
        /** @var LazyAdvisorAccessor $accessor */
        static $accessor = null;
        if (!$accessor) {
            $accessor = AspectKernel::getInstance()->getContainer()->get('aspect.advisor.accessor');
        }
        $advices = self::$functionAdvices[$namespace][AspectContainer::FUNCTION_PREFIX][$joinPointName];
        $filledAdvices = [];
        foreach ($advices as $advisorName) {
            $filledAdvices[] = $accessor->{$advisorName};
        }
        return new ReflectionFunctionInvocation($joinPointName, $filledAdvices);
    }