MessageBag::any()

bool any() Determine if the message bag has any messages. Return Value bool

MessageBag::all()

array all(string $format = null) Get all of the messages for every key in the bag. Parameters string $format Return Value array

MessageBag::all()

array all(string $format = null) Get all of the messages for every key in the bag. Parameters string $format Return Value array

MessageBag::add()

$this add(string $key, string $message) Add a message to the bag. Parameters string $key string $message Return Value $this

MessageBag::add()

$this add(string $key, string $message) Add a message to the bag. Parameters string $key string $message Return Value $this

MessageBag

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

MessageBag

MessageBag interface MessageBag (View source) Methods 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 messages exist for a given key. string first(string $key = null, string $format = null) Get the first message from the bag for a given key. array get(string $key, s

Message::__construct()

void __construct(Swift_Message $swift) Create a new message instance. Parameters Swift_Message $swift Return Value void

Message::__call()

mixed __call(string $method, array $parameters) Dynamically pass missing methods to the Swift instance. Parameters string $method array $parameters Return Value mixed

Message::to()

$this to(string|array $address, string|null $name = null, bool $override = false) Add a recipient to the message. Parameters string|array $address string|null $name bool $override Return Value $this