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:
commit
d471a16657
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user