MessageBag 
 class MessageBag implements Arrayable, Countable, Jsonable, JsonSerializable, MessageBag, MessageProvider (View source) 
Methods
 void   __construct(array $messages = array()) Create a new message bag instance.    array   keys() Get the keys present in the message bag.    $this   add(string $key, string $message) Add a message to the bag.    $this   merge(MessageProvider|array $messages) Merge a new array of messages into the bag.    bool   has(string|array $key) Determine if messa