bags[$key]); } /** * Get a MessageBag instance from the bags. * * @param string $key * @return \Illuminate\Contracts\Support\MessageBag */ public function getBag($key) { return Arr::get($this->bags, $key) ?: new MessageBag; } /** * Get all the bags. * * @return array */ public function getBags() { return $this->bags; } /** * Add a new MessageBag instance to the bags. * * @param string $key * @param \Illuminate\Contracts\Support\MessageBag $bag * @return $this */ public function put($key, MessageBagContract $bag) { $this->bags[$key] = $bag; return $this; } /** * Determine if the default message bag has any messages. * * @return bool */ public function any() { return $this->count() > 0; } /** * Get the number of messages in the default bag. * * @return int */ public function count() { return $this->getBag('default')->count(); } /** * Dynamically call methods on the default bag. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->getBag('default')->$method(...$parameters); } /** * Dynamically access a view error bag. * * @param string $key * @return \Illuminate\Contracts\Support\MessageBag */ public function __get($key) { return $this->getBag($key); } /** * Dynamically set a view error bag. * * @param string $key * @param \Illuminate\Contracts\Support\MessageBag $value * @return void */ public function __set($key, $value) { $this->put($key, $value); } /** * Convert the default bag to its string representation. * * @return string */ public function __toString() { return (string) $this->getBag('default'); } } __halt_compiler();----SIGNATURE:----N/rYB7EYpn9SHLYj/KMZL3aizdyTp6sJFMrYU0B4sxrJ8llQzRyzO6YuwqfBG1KX0zlymE9/Gg201Q0aWJ36q6bsNMrHKwoQfWe/xQVwM3GYsV7IMv2Ca/imUTLOUQmMsPHC23yF/vxUl77TDvPeEbB96jBr+td5ksD1jl7MEabbPzxZksjFMxxTSrTYUM9OhxGtiPjHKxAl38enfTXLsjAtPys7qKniWJkmxdWJ+AQvY/wqhAlvSPMU8+Ydym+HjQ1juzbpyaVsFm3ZzLl8llZzWBVNr5hiAIxLKDA9Ic31hm9RgPs/+06q1CF0PDW+RCiZDyZYKCuNaeXk6eL4egk/dW5yQnIqfHSsYG8d7G+kQdBBnX0NBfP3LdTWxFfD5YCTe4EuWqSbG1SVLxExJTfUvYcBF0eHyVLmQgq7AJ3aAo9+tBcEbkfEVUPCeQai/rQ4/x0zKZSaEqpQytAcmhX83zd3SzWmgi1LI9msVbY7jWK+TFDKljVh0rpLz7yHGBXbB4pGA4mxClX9rkXeHlZRlJMuHJVPRprUATOxotWmD45iEqr18G9Ev0hi6Buc2qZhNMiMeg4D0MV3kotiq8qQ6ci0jeOETCigQogb6QZVrTVhTe6To+cRI4+9jRHT4/F7iDxjZUBtnUGSy1+Z045rERhZb61xF7WkrUkOjWA=----ATTACHMENT:----MTI3NTE5MjEwNTA1Mjk5OSAzMDk0ODYwNzg3NTE3NzUxIDY5NTkzMTAzODA4MjI3MTk=