protected function flash(string $type, string $message, string $level)
    {
        $group = Session::get($type, new MessageBag());

        Session::flash($type, $group->add($level, $message));

        return $this;
    }
protected function flash(string $type, string $message, string $level)
    {
        $group = Session::get($type, new MessageBag());

        Session::flash($type, $group->add($level, $message));

        return $this;
    }
protected function flash ( string $ type , string $ message , string $ level ) { $ group = Session :: get ( $ type , new MessageBag ( ) ) ; Session :: flash ( $ type , $ group -> add ( $ level , $ message ) ) ; return $ this ; }
Flash message to the Session.

@param string $type
@param string $message
@param string $level

@return $this
Flash message to the Session .