You are here

public function FlashBagInterface::set in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php \Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface::set()

Registers a message for a given type.

Parameters

string $type:

string|array $message:

2 methods override FlashBagInterface::set()
AutoExpireFlashBag::set in vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php
Registers a message for a given type.
FlashBag::set in vendor/symfony/http-foundation/Session/Flash/FlashBag.php
Registers a message for a given type.

File

vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php, line 37

Class

FlashBagInterface
FlashBagInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function set($type, $message);