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:----BKOeBsEoO/AZkcmRz2Ub3ZIoj99KYKBZF6Yu4SIFEPTFtWfk/rOsybz8B7cjQza2aSJmYtHIONFQH/V3Zr8W6xI3lHdNcgwwkbGouu+hg1Bw2N75nQA+rqSWV338EYRaX123e586gT8cm9yaGG7N1LA4p2KkYFpBHRbmPk8cAumk1GWSczU/mJSv1vb6k7RQl/5tRY9TiTGqHPz6yED55VEyROZ0ZaSAC4PyrS9gMdAKelBRkLzwcpXV3knIHOjHa/XOQQbI8ikkZPDDIo898ilPIyL1yvuuWmK/gBc3hWVrIKQ7R6hp/rVbpKWbiMA8JKfeML7+D6mD/dV+3LYvpaqdmew4jgq96VEPBKs3hobSUI7bl8FNyW0SCuV6+8PTpFM58msLSs76RlTFdZEv7pLN5/fCaGaARpNGaXRwtzERMadUS+ORqyX4bKUq0R87fnzE/74F0Vp+UpbwytV5/Yky9MxaN6WuT5qrJdTRlSMwtyfZDpvq9gWfYID/8rkeWZ0OnM1uB2sKLT/D7KmT3dI4JSj0NOsLeJIvH7luPfcicxw0/W0ZFPJ8rjvIr3edlUZCfSD2Xd8oLVYTRLR48vJ7Gx+rFxY4MMG+6sMLk9EuX4TifKbcY0pw3/VA83nS1PNn3WPw1Fnryvp7STLlTXexgZui22RbWAJ7jSh7fYs=----ATTACHMENT:----NDgyMzE2NTMxNjY5ODczMCAyNDI0MjA4MjYzNzMwNDUyIDIyMDAwNzM0MTU2MTA3NTI=