MessageProvider interface MessageProvider (View source) Methods MessageBag getMessageBag() Get the messages for the instance.
string __toString() Convert the message bag to its string representation. Return Value string
void __construct(array $messages = array()) Create a new message bag instance. Parameters array $messages Return Value void
array unique(string $format = null) Get all of the unique messages for every key in the bag. Parameters string $format Return Value array
string toJson(int $options) Convert the object to its JSON representation. Parameters int $options Return Value string
array toArray() Get the instance as an array. Return Value array
$this setFormat(string $format = ':message') Set the default message format. Parameters string $format Return Value $this
array messages() Get the raw messages in the container. Return Value array
Page 482 of 996