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 cde1c52

Browse filesBrowse files
author
Drak
committed
[HttpFoundation] Add missing method in flash interface.
1 parent 1bb6e0d commit cde1c52
Copy full SHA for cde1c52

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.