Go\Aop\Framework\BeforeInterceptor::invoke PHP Method

invoke() public method

Before invoker for joinpoint
public invoke ( Go\Aop\Intercept\Joinpoint $joinpoint ) : mixed
$joinpoint Go\Aop\Intercept\Joinpoint the concrete joinpoint
return mixed the result of the call to {@link Joinpoint::proceed()},
    public function invoke(Joinpoint $joinpoint)
    {
        $adviceMethod = $this->adviceMethod;
        $adviceMethod($joinpoint);
        return $joinpoint->proceed();
    }
BeforeInterceptor