public function addNotification(Notification $notification)
    {
        if (!isset($this->notifications)) {
            $this->notifications = [];
        }

        $this->notifications[] = $notification;

        return $this;
    }
public function addNotification(Notification $notification)
    {
        if (!isset($this->notifications)) {
            $this->notifications = [];
        }

        $this->notifications[] = $notification;

        return $this;
    }
public function addNotification ( Notification $ notification ) { if ( ! isset ( $ this -> notifications ) ) { $ this -> notifications = [ ] ; } $ this -> notifications [ ] = $ notification ; return $ this ; }
Adds a new Pushwoosh notification to the notifications attached to this create message request.

@param \Gomoob\Pushwoosh\Model\Notification\Notification $notification the new notification to add.

@return \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest this instance.
Adds a new Pushwoosh notification to the notifications attached to this create message request .