public function setSenders($senders)
    {
        $this->senders = [];
        if (count($senders)) {
            foreach ($senders as $channel => $sender) {
                $this->addSender($channel, $sender);
            }
        }

        return $this;
    }
public function setSenders($senders)
    {
        $this->senders = [];
        if (count($senders)) {
            foreach ($senders as $channel => $sender) {
                $this->addSender($channel, $sender);
            }
        }

        return $this;
    }
public function setSenders ( $ senders ) { $ this -> senders = [ ] ; if ( count ( $ senders ) ) { foreach ( $ senders as $ channel => $ sender ) { $ this -> addSender ( $ channel , $ sender ) ; } } return $ this ; }
Add a notification sender to a channel
@param array $senders
@return \Symbiote\Notifications\Service\NotificationService
Add a notification sender to a channel