Open Journal Systems  3.3.0
vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 
15 
21 interface FlashBagInterface extends SessionBagInterface
22 {
29  public function add($type, $message);
30 
37  public function set($type, $messages);
38 
47  public function peek($type, array $default = []);
48 
54  public function peekAll();
55 
64  public function get($type, array $default = []);
65 
71  public function all();
72 
76  public function setAll(array $messages);
77 
85  public function has($type);
86 
92  public function keys();
93 }
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\setAll
setAll(array $messages)
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\add
add($type, $message)
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\keys
keys()
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\all
all()
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\peek
peek($type, array $default=array())
Symfony\Component\HttpFoundation\Session\Flash
Definition: lib/vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php:12
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\peekAll
peekAll()
Symfony\Component\HttpFoundation\Session\SessionBagInterface
Definition: lib/vendor/symfony/http-foundation/Session/SessionBagInterface.php:19
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface\has
has($type)