Go\Aop\Framework\AfterInterceptor::invoke PHP Méthode

invoke() public méthode

After invoker
public invoke ( Go\Aop\Intercept\Joinpoint $joinpoint ) : mixed
$joinpoint Go\Aop\Intercept\Joinpoint the concrete joinpoint
Résultat mixed the result of the call to {@link Joinpoint::proceed()}
    public function invoke(Joinpoint $joinpoint)
    {
        try {
            $result = $joinpoint->proceed();
        } finally {
            $adviceMethod = $this->adviceMethod;
            $adviceMethod($joinpoint);
        }
        return $result;
    }
AfterInterceptor