src/FlashMessage.php
protected function addMessageToSession($message, $title, $dismissable, $type)
    {
        $_SESSION[$this->alias][$type][] = compact('message', 'title', 'dismissable', 'type');

        return $this;
    }
protected function addMessageToSession($message, $title, $dismissable, $type)
    {
        $_SESSION[$this->alias][$type][] = compact('message', 'title', 'dismissable', 'type');

        return $this;
    }
protected function addMessageToSession ( $ message , $ title , $ dismissable , $ type ) { $ _SESSION [ $ this -> alias ] [ $ type ] [ ] = compact ( 'message' , 'title' , 'dismissable' , 'type' ) ; return $ this ; }
Push the message to the session

@param  string      $message
@param  string|null $title
@param  bool        $dismissable
@param  string      $type
@return $this
Push the message to the session