Session::flash($name, $string = '')
This same line is used to set and show notification.
It atomatically clears session after showing it. $name is the name of the sesson example : $name = "notification";
There was an error while loading. Please reload this page.