コード例 #1
0
 /**
  * @param NotifierMessage $message
  *
  * @return bool
  * @throws NotifierException
  */
 public function send(NotifierMessage $message)
 {
     if (null === $this->notifier) {
         throw new NotifierException('Undefined sending channel');
     }
     return $this->notifier->send($message);
 }
コード例 #2
0
ファイル: Handler.php プロジェクト: fluxoft/rebar
 public static function ExceptionHandler(\Exception $e)
 {
     self::$notifier->Notify($e);
 }