function FlashBagInterface::add
Adds a flash message for the given type.
2 methods override FlashBagInterface::add()
- AutoExpireFlashBag::add in vendor/
symfony/ http-foundation/ Session/ Flash/ AutoExpireFlashBag.php - Adds a flash message for the given type.
- FlashBag::add in vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php - Adds a flash message for the given type.
File
-
vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBagInterface.php, line 26
Class
- FlashBagInterface
- FlashBagInterface.
Namespace
Symfony\Component\HttpFoundation\Session\FlashCode
public function add(string $type, mixed $message) : void;