public function overlay($message, $title = 'Notice', $level = 'info') { $this->message($message, $level); $this->session->flash('flash_notification.overlay', true); $this->session->flash('flash_notification.title', $title); return $this; }
/** * Flash an overlay modal. * * @param string $message * @param string $title * @return $this * @static */ public static function overlay($message, $title = 'Notice') { return \Laracasts\Flash\FlashNotifier::overlay($message, $title); }