* * 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:----u9f9ZsD3QQ6OP8L6nk8OBdkTNc0nkQ84UTQEVE1DtI7XjozgvJvDKC/HrFVjeNb8AUysbgXZ761Kw5CE9IxhXOfIENZhO72De2gKiWeLGGZnj0T80dOrcY6HI415WoREHeZkPFap6+7M+5bZWkja7cLaj2bvrO4uP+KfQZoJbBMqTLt1vfv+Heq1uBr6CWnQPG/3Cwij8Y3Xh2v/OGXsV6BZP40GB7+lhHkrCodGBK5QzbyMGG/WlpLpXtlGSDpNuY4IT4ILm7e8m83QK/25BhL/h2W2AkVnMA3eYggNC1/VhofZRmTVkItBy9xH4DVnj8JqBz7hREOByRKOiN5u5AkQjhoID3/f/eKBUE/kWLxmZC5bekNkqY9OENesuiZez2tFuAiue+l0yTY4obZ55N+f6LR56cbWJeNsqgt9vMru2Emic3Jz17ts7qoA2pewXActr+NVHj3nE9bZTmfEQnMIRyHZPbQpN6ya8DVXMAt30niyKyhZDITPdcvb1senDuTE+yNIat1QfPU2repi6FSRYR7Vzkb69Jkj/v3uBTUn5mmlCIP+afqfga4uljcN2bP2cBxTWw85BCmrDpkYXefqmXQPlh/7glyEe1XVDTHTSx2/O1H/I5FHvvfjhpii6MoE9+W1awiP93Q4ZJqlDkrYYRKd/9TAT99HNSoGnK8=----ATTACHMENT:----MzM3NDAwMTUxMzE2MTMyNyAyNzA0MjAyMzM1MTY3NzgzIDU2NzM3Nzg2ODExMTY4NjY=