public function __construct(AdviceInterface $advice, Pointcut $pointcut) { $this->advice = $advice; $this->pointcut = $pointcut; }