public function showMessagesOnSession()
    {
        session()->flash('errorMessages', $this->errorMessages);
        session()->flash('infoMessages', $this->infoMessages);
        session()->flash('successMessages', $this->successMessages);
        session()->flash('warningMessages', $this->warningMessages);
    }
public function showMessagesOnSession()
    {
        session()->flash('errorMessages', $this->errorMessages);
        session()->flash('infoMessages', $this->infoMessages);
        session()->flash('successMessages', $this->successMessages);
        session()->flash('warningMessages', $this->warningMessages);
    }
public function showMessagesOnSession ( ) { session ( ) -> flash ( 'errorMessages' , $ this -> errorMessages ) ; session ( ) -> flash ( 'infoMessages' , $ this -> infoMessages ) ; session ( ) -> flash ( 'successMessages' , $ this -> successMessages ) ; session ( ) -> flash ( 'warningMessages' , $ this -> warningMessages ) ; }
Show all flash messages on session
Show all flash messages on session