Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d471a16

Browse filesBrowse files
committed
merged branch drak/flashinterface (PR symfony#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: symfony#3711 Todo: -
2 parents aed954c + cde1c52 commit d471a16
Copy full SHA for d471a16

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
*/
2121
interface FlashBagInterface extends SessionBagInterface
2222
{
23+
/**
24+
* Adds a flash message for type.
25+
*
26+
* @param string $type
27+
* @param string $message
28+
*/
29+
public function add($type, $message);
30+
2331
/**
2432
* Registers a message for a given type.
2533
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.