interface GroupProviderInterface
Defines the interface for a validation group provider.
@author Yonel Ceruto <yonelceruto@gmail.com>
Hierarchy
- interface \Symfony\Component\Validator\GroupProviderInterface
Expanded class hierarchy of GroupProviderInterface
All classes that implement GroupProviderInterface
File
-
vendor/
symfony/ validator/ GroupProviderInterface.php, line 21
Namespace
Symfony\Component\ValidatorView source
interface GroupProviderInterface {
/**
* Returns which validation groups should be used for a certain state
* of the object.
*
* @return string[]|string[][]|GroupSequence
*/
public function getGroups(object $object) : array|GroupSequence;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
GroupProviderInterface::getGroups | public | function | Returns which validation groups should be used for a certain state of the object. |