Go\Aop\Support\DefaultPointcutAdvisor::__construct PHP 메소드

__construct() 공개 메소드

Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
public __construct ( Go\Aop\Pointcut $pointcut, Go\Aop\Advice $advice )
$pointcut Go\Aop\Pointcut The Pointcut targeting the Advice
$advice Go\Aop\Advice The Advice to run when Pointcut matches
    public function __construct(Pointcut $pointcut, Advice $advice)
    {
        $this->pointcut = $pointcut;
        parent::__construct($advice);
    }