src/lukebro/Flash/FlashFactory.php
public function create($level, $message)
    {
        $this->next[] = ['level' => $level, 'message' => $message];

        $this->session->flash($this->key, $this->next);

        return $this;
    }
public function create($level, $message)
    {
        $this->next[] = ['level' => $level, 'message' => $message];

        $this->session->flash($this->key, $this->next);

        return $this;
    }
public function create ( $ level , $ message ) { $ this -> next [ ] = [ 'level' => $ level , 'message' => $ message ] ; $ this -> session -> flash ( $ this -> key , $ this -> next ) ; return $ this ; }
Create a new flash message.

@param  string $message
@param  string $level
@return this
Create a new flash message .