Xpressengine\Interception\Advisor::__construct PHP Метод

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

생성자.
public __construct ( string $name, string | string[] $pointCut, Closure $advice )
$name string advisor's name
$pointCut string | string[] advisor's pointcut
$advice Closure advisor's advice
    public function __construct($name, $pointCut, $advice)
    {
        $this->name = $name;
        $this->pointCut = (array) $pointCut;
        $this->advice = $advice;
    }