Go\Aop\Support\PointcutBuilder::around PHP Method

around() public method

Declares the "Around" hook for specific pointcut expression
public around ( string $pointcutExpression, Closure $advice )
$pointcutExpression string Pointcut, e.g. "within(**)"
$advice Closure Advice to call
    public function around($pointcutExpression, Closure $advice)
    {
        $advice = new AroundInterceptor($advice, 0, $pointcutExpression);
        $this->registerAdviceInContainer($pointcutExpression, $advice);
    }