The notification helper provides simple session storage service.
Adds specific variable to the Notifications array.
Notification::set('success', 'Data has been saved with success!');
Notification::set('errors', 'Data not saved!');
Adds specific variable to the Notifications array for current page.
Notification::setNow('success', 'Success!');
Returns a specific variable from the Notifications array.
echo Notification::get('success');
echo Notification::get('errors');
Clears the Notifications array.
Data that previous pages stored will not be deleted, just the data that page stored itself.
Notification::clean();