Skip to content

[Validator] Support group sequences in Validator API #7146

Closed
@webmozart

Description

@webmozart

Currently, the API of ValidatorInterface does not support group sequences. This should be made possible by supporting the following calls:

$validator->validate($object, new GroupSequence(array('first', 'second')));
$validator->validateProperty($object, 'foo', new GroupSequence(array('first', 'second')));
$validator->validatePropertyValue('Class', 'foo', 'bar', new GroupSequence(array('first', 'second')));
$validator->validateValue($object, array($constraint1, $constraint2), new GroupSequence(array('first', 'second')));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions