public function saveMessage($msg)
    {
	$messages = $this->session->get("FlashInSession", []);
	$messages[] = $msg;
	$this->session->set("FlashInSession", $messages);
    }
public function saveMessage($msg)
    {
	$messages = $this->session->get("FlashInSession", []);
	$messages[] = $msg;
	$this->session->set("FlashInSession", $messages);
    }
public function saveMessage ( $ msg ) { $ messages = $ this -> session -> get ( "FlashInSession" , [ ] ) ; $ messages [ ] = $ msg ; $ this -> session -> set ( "FlashInSession" , $ messages ) ; }
Save a message to the session

@param $msg The message to store
@return void
Save a message to the session