merged branch drak/flashinterface (PR #3719)

Commits
-------

cde1c52 [HttpFoundation] Add missing method in flash interface.

Discussion
----------

[HttpFoundation] Add missing method in flash interface.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #3711
Todo: -
This commit is contained in:
Fabien Potencier 2012-03-29 08:46:07 +02:00
commit d471a16657

View File

@ -20,6 +20,14 @@ use Symfony\Component\HttpFoundation\Session\SessionBagInterface;
*/
interface FlashBagInterface extends SessionBagInterface
{
/**
* Adds a flash message for type.
*
* @param string $type
* @param string $message
*/
public function add($type, $message);
/**
* Registers a message for a given type.
*