public function before(string $pointcutExpression, Closure $adviceToInvoke): void
    {
        $interceptor = new BeforeInterceptor($adviceToInvoke, 0, $pointcutExpression);
        $this->registerAdviceInContainer($pointcutExpression, $interceptor);
    }
public function before(string $pointcutExpression, Closure $adviceToInvoke): void
    {
        $interceptor = new BeforeInterceptor($adviceToInvoke, 0, $pointcutExpression);
        $this->registerAdviceInContainer($pointcutExpression, $interceptor);
    }
public function before ( string $ pointcutExpression , Closure $ adviceToInvoke ) : void { $ interceptor = new BeforeInterceptor ( $ adviceToInvoke , 0 , $ pointcutExpression ) ; $ this -> registerAdviceInContainer ( $ pointcutExpression , $ interceptor ) ; }
Declares the "Before" hook for specific pointcut expression
Declares the Before hook for specific pointcut expression