public function setEvent(\Spatie\ServerMonitor\Events\Event $event): self
    {
        $this->event = $event;

        return $this;
    }
public function setEvent(\Spatie\ServerMonitor\Events\Event $event): self
    {
        $this->event = $event;

        return $this;
    }
public function setEvent ( \ Spatie \ ServerMonitor \ Events \ Event $ event ) : self { $ this -> event = $ event ; return $ this ; }
Set the event for the notification.

@param \Spatie\ServerMonitor\Events\Event $event

@return Notifiable
Set the event for the notification .