References ValidationGroupsGeneratorInterface
Reference
I
Interface

ApiPlatform\Symfony\Validator\ValidationGroupsGeneratorInterface

Generates validation groups for an object.

interface ApiPlatform\Symfony\Validator\ValidationGroupsGeneratorInterface
{
    public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>
}

Methods

__invoke

public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>

Parameters

objectobject

Returns

Symfony\Component\Validator\Constraints\GroupSequence
array<int, string>

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop