public function setNotification($option, $enable)
    {
        $this->notifications = $enable
            ? ($this->notifications | $option)
            : ($this->notifications ^ $option);
    }
public function setNotification($option, $enable)
    {
        $this->notifications = $enable
            ? ($this->notifications | $option)
            : ($this->notifications ^ $option);
    }
public function setNotification ( $ option , $ enable ) { $ this -> notifications = $ enable ? ( $ this -> notifications | $ option ) : ( $ this -> notifications ^ $ option ) ; }
Set a notification.

@param $option string
@param $enable bool
Set a notification .