Example #1
1
 /**
  * Filter alerts excluding the given types.
  *
  * @param string|array $types
  * @return self 
  * @static 
  */
 public static function whereNotType($types)
 {
     return \Cartalyst\Alerts\Alerts::whereNotType($types);
 }
Example #2
0
 /**
  * Creates and adds a new flash notifier.
  *
  * @param  \Cartalyst\Alerts\Alerts  $alerts
  * @return void
  */
 protected function createFlashNotifier($alerts)
 {
     if ($session = $this->createSession()) {
         $alerts->addNotifier(new FlashNotifier('flash', static::$config, $session));
     }
 }