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>
}
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>
public __invoke(object $object): Symfony\Component\Validator\Constraints\GroupSequence|array<int, string>

Parameters

objectobject

Returns

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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop