/** * Filter alerts excluding the given types. * * @param string|array $types * @return self * @static */ public static function whereNotType($types) { return \Cartalyst\Alerts\Alerts::whereNotType($types); }
/** * 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)); } }