public function setChannel($channel) { $this->notifier = $this->notifierFactory->create($channel); return $this; }