Deserialize stage of GraphQL resolvers.
class ApiPlatform\GraphQl\Resolver\Stage\DeserializeStage implements ApiPlatform\GraphQl\Resolver\Stage\DeserializeStageInterface
{
public __construct(Symfony\Component\Serializer\Normalizer\DenormalizerInterface $denormalizer, ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder)
public __invoke(null|object $objectToPopulate, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object
}
public __construct(Symfony\Component\Serializer\Normalizer\DenormalizerInterface $denormalizer, ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder)
denormalizer | Symfony\Component\Serializer\Normalizer\DenormalizerInterface | |
serializerContextBuilder | `ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface` |
public __invoke(null|object $objectToPopulate, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object
objectToPopulate | object | |
resourceClass | string | |
operation | `ApiPlatform\Metadata\GraphQl\Operation` | |
context | array |
object
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