function FlashBagInterface::set
Registers one or more messages for a given type.
2 methods override FlashBagInterface::set()
- AutoExpireFlashBag::set in vendor/
symfony/ http-foundation/ Session/ Flash/ AutoExpireFlashBag.php - Registers one or more messages for a given type.
- FlashBag::set in vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php - Registers one or more messages for a given type.
File
-
vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBagInterface.php, line 31
Class
- FlashBagInterface
- FlashBagInterface.
Namespace
Symfony\Component\HttpFoundation\Session\FlashCode
public function set(string $type, string|array $messages) : void;