References ValidatorInterface
Reference
I
Interface

ApiPlatform\Validator\ValidatorInterface

Validates an item.

interface ApiPlatform\Validator\ValidatorInterface
{
    public validate(object $data, array $context): null
}

Methods

validate

Validates an item.

public validate(object $data, array $context): null

Parameters

dataobject
contextarray

Returns

null

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