public function __construct($name, $pointCut, $advice) { $this->name = $name; $this->pointCut = (array) $pointCut; $this->advice = $advice; }