Skip to content

Commit 9c9e715

Browse files
committed
[Validator] Completed documentation of GroupManagerInterface
1 parent 1e81f3b commit 9c9e715

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Symfony/Component/Validator/Group/GroupManagerInterface.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,18 @@
1212
namespace Symfony\Component\Validator\Group;
1313

1414
/**
15-
* @since %%NextVersion%%
15+
* Returns the group that is currently being validated.
16+
*
17+
* @since 2.5
1618
* @author Bernhard Schussek <[email protected]>
1719
*/
1820
interface GroupManagerInterface
1921
{
22+
/**
23+
* Returns the group that is currently being validated.
24+
*
25+
* @return string|null The current group or null, if no validation is
26+
* active.
27+
*/
2028
public function getCurrentGroup();
2129
}

0 commit comments

Comments
 (0)