123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- namespace Symfony\Component\HttpFoundation\Session\Flash;
- use Symfony\Component\HttpFoundation\Session\SessionBagInterface;
- interface FlashBagInterface extends SessionBagInterface
- {
-
- public function add(string $type, mixed $message);
-
- public function set(string $type, string|array $messages);
-
- public function peek(string $type, array $default = []): array;
-
- public function peekAll(): array;
-
- public function get(string $type, array $default = []): array;
-
- public function all(): array;
-
- public function setAll(array $messages);
-
- public function has(string $type): bool;
-
- public function keys(): array;
- }
|