Reference
I
Interface

ApiPlatform\GraphQl\Resolver\Stage\DeserializeStageInterface

Deserialize stage of GraphQL resolvers.

interface ApiPlatform\GraphQl\Resolver\Stage\DeserializeStageInterface
{
    public __invoke(null|object $objectToPopulate, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object
}
interface ApiPlatform\GraphQl\Resolver\Stage\DeserializeStageInterface
{
    public __invoke(null|object $objectToPopulate, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object
}

Methods

__invoke

public __invoke(null|object $objectToPopulate, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object
public __invoke(null|object $objectToPopulate, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object

Parameters

objectToPopulateobject
resourceClassstring
operationApiPlatform\Metadata\GraphQl\Operation
contextarray

Returns

object

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop