[Validator] Completed documentation of GroupManagerInterface

This commit is contained in:
Bernhard Schussek 2014-02-19 13:31:44 +01:00
parent 1e81f3bdc8
commit 9c9e715ca8
1 changed files with 9 additions and 1 deletions

View File

@ -12,10 +12,18 @@
namespace Symfony\Component\Validator\Group;
/**
* @since %%NextVersion%%
* Returns the group that is currently being validated.
*
* @since 2.5
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface GroupManagerInterface
{
/**
* Returns the group that is currently being validated.
*
* @return string|null The current group or null, if no validation is
* active.
*/
public function getCurrentGroup();
}