[HttpFoundation] Add missing method in flash interface.
This commit is contained in:
parent
1bb6e0de4d
commit
cde1c52914
@ -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