[HttpFoundation] Add missing method in flash interface.

This commit is contained in:
Drak 2012-03-29 05:21:43 +05:45
parent 1bb6e0de4d
commit cde1c52914

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.
*