Guides
Tutorials
Generates validation groups for an object.
interface ApiPlatform\Symfony\Validator\ValidationGroupsGeneratorInterface
{
public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>
}
interface ApiPlatform\Symfony\Validator\ValidationGroupsGeneratorInterface
{
public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>
}
public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>
public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>
object | object |
Symfony\Component\Validator\Constraints\GroupSequence
array<int, string>