app/Traits/FlashMessages.php
/**
 * Flushing flash messages to Laravel's session
 */
Flushing flash messages to Laravel's session
Flushing flash messages to Laravel ' s session
protected function showFlashMessages()
{
    session()->flash('error', $this->errorMessages);
    session()->flash('info', $this->infoMessages);
    session()->flash('success', $this->successMessages);
    session()->flash('warning', $this->warningMessages);
}
protected function showFlashMessages ( ) { session ( ) -> flash ( 'error' , $ this -> errorMessages ) ; session ( ) -> flash ( 'info' , $ this -> infoMessages ) ; session ( ) -> flash ( 'success' , $ this -> successMessages ) ; session ( ) -> flash ( 'warning' , $ this -> warningMessages ) ; }
Flushing flash messages to Laravel's session
Flushing flash messages to Laravel ' s session
//set the flash messages to all types of laravel session