* * 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:----EpeUbKWTRox9DSppWL9dQU+mfCC/SDQnmypE9k9HCLWHlaycbuIzKEm5Crq0SL/4I7/nlMQ7rlHmAlFtziev8GnW9hm/U1dAs2+hhKDbUBt62gF9nE8zDmw6sE3TCteDI9JrklHKIT7ZRuIv3niQpRVFNlLIy+lb9eiRd93S3iWxuoYrvbpr9eUywus4tIMzMzC0MD4QcvxMGqDiFuZXj6zy45Sd0Yjs+9HAHnAtNjba5Bp0rH2jnz+kQhE4aiLpdyfISNj74k3uDiV6h2RQ0luou2dKViciTDseeMjI622LT/cMHw9D2INzhbsSMYTG9W9mA9+kCXSIcbhUA7OehiT8nlktWvbQh62UdaaPMVrxQzkHsC6C5PJF2Vn292/V/ILK+uhU3Zb1qrvZqDH6p47Bi/YYVnYCZgkcjBG+RHPkOCG8Z4zq8/mAFvZsohR0wqyyPjCKu66vizbAScu/6gMc2HD09ArzZxjKvKutWANzKhfRBQ4dKwOSGcD7PbifDCf1a7yDDFftcVuz3eiVwWh9E0LrwAvr2m6W4QiojgvkevALV1SR1rkmDerLS6fS0tddZJ72R3Z17UFh7hlEFpwwPPY5hKR+auKJYoKJyuQzOwcNyVhqp9p8mjE7ydjCOEGCyj2BNjv2FcX2kC9dm0y/qkrWwSZ+AD7cqc4E4j4=----ATTACHMENT:----MjAwMjI1MzI4MTIzNzY3MCA5OTY3MDgxMTc4ODE0NzMwIDk3NTAyMzY4NDM5MTIyNjY=