You are here

public function FlashBagInterface::add 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::add()

Adds a flash message for type.

Parameters

string $type:

string $message:

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

File

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

Class

FlashBagInterface
FlashBagInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function add($type, $message);