* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation\Session\Flash; use Symfony\Component\HttpFoundation\Session\SessionBagInterface; /** * FlashBagInterface. * * @author Drak */ interface FlashBagInterface extends SessionBagInterface { /** * Adds a flash message for type. * * @param string $type * @param string $message */ public function add($type, $message); /** * Registers a message for a given type. * * @param string $type * @param string|array $message */ public function set($type, $message); /** * Gets flash messages for a given type. * * @param string $type Message category type * @param array $default Default value if $type does not exist * * @return array */ public function peek($type, array $default = array()); /** * Gets all flash messages. * * @return array */ public function peekAll(); /** * Gets and clears flash from the stack. * * @param string $type * @param array $default Default value if $type does not exist * * @return array */ public function get($type, array $default = array()); /** * Gets and clears flashes from the stack. * * @return array */ public function all(); /** * Sets all flash messages. */ public function setAll(array $messages); /** * Has flash messages for a given type? * * @param string $type * * @return bool */ public function has($type); /** * Returns a list of all defined types. * * @return array */ public function keys(); } __halt_compiler();----SIGNATURE:----XcSdFGxR6RB6cOM0l7qPhZLcxt9+18uVZrOm8Rm5GInZxW4W5/elFdKQS+necksBC8lND1vun/8WG5hKUmCgYH9ekZummZW3jUhpaVeXwH42TllgqrS4r+rlCiXyVt8NWXwMgpxex26EQ/Mv50AawvaEzUDBWqlAXfbHp7ca3n+nmQ2pMsJ1E1hICjJKtD4H/83KlU9NOXxJav3VbcTJD+v+DTZc7YR004l46gztxEEKyR81iSjJ+kd56PMsVMabcLIRDiE59jSwVlbZN+Fic52vUgXqabQpjpyU85no2QnPsFygC4tY0/01B3pEGb748AUXRhbpSGQuhSgbiwZx3H7iD6ib8GnkZGfYq6co1n2l30WRjJTk2rnP7L5I4dtX8hHsFRiAYq3GLi9RbZqK52ckqL4L0WaTd4y3WoMsuiYhsZodmKwnfeM+V9mNvhymA1FKQJQ7fcPF5W65+eLNq1ZdDVlVQc1EE3o7NL8gAYqFsGX4v0qPO9c5h567WIkDtrc5M/HJcTaiCa06r/3IUS0tzoAUVY8cwmowKfSumAwyGmw6d+fISUnsYJlxID7oci4LsBF8BxaTi28rUX+hKvrvGHFz2GJrKsaLL0Ui+bHVkgtHV5DlSsIOEsi+WukT4joEWjVKrc4JQK5/W4yP6EwZIQhTnt9v//5GCPBe5Wg=----ATTACHMENT:----OTA2MDczNTQyNjAyMDkzMCA3MzkxNzA3MzIyMjU5Mjk4IDEyODMxMDgyNjY2MzkyMDQ=