array keys() Get the keys present in the message bag.
int count() Get the number of messages in the container.
$this setFormat(string $format = ':message') Set the default message format
bool isEmpty() Determine if the message bag has any messages.
Renderable interface Renderable (
string toJson(int $options) Convert the object to its JSON representation
string render() Get the evaluated contents of the object.
array all(string $format = null) Get all of the messages for every key
Jsonable interface Jsonable (
$this add(string $key, string $message) Add a message to the bag.
Page 2 of 3