Created
November 6, 2018 13:15
-
-
Save alisalmabadi/d0306872c939d8e2d8b06d9eb4ead22f to your computer and use it in GitHub Desktop.
can be used in flash message laravel package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function flash($message,$level='info') | |
{ | |
session()->flash('flash_message',$message); | |
session()->flash('flash_message_level',$level); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment