/** * Send this notification. If set, uses the 'notificationManager'. Otherwise * uses the default notification manager (email). * * @return boolean true on success, false if there was an error. */ public function send() { if ($this->notificationManager) { return $this->notificationManager->send($this); } return NotificationManager::send($this); }