Neos\Flow\Aop\Advisor::__construct PHP Метод

__construct() публичный Метод

Initializes the advisor with an advice and a pointcut
public __construct ( Neos\Flow\Aop\Advice\AdviceInterface $advice, Pointcut $pointcut )
$advice Neos\Flow\Aop\Advice\AdviceInterface The advice to weave in
$pointcut Neos\Flow\Aop\Pointcut\Pointcut The pointcut where the advice should be inserted
    public function __construct(AdviceInterface $advice, Pointcut $pointcut)
    {
        $this->advice = $advice;
        $this->pointcut = $pointcut;
    }