Reference
I
Interface

ApiPlatform\GraphQl\Resolver\QueryItemResolverInterface

A function resolving a GraphQL query of an item.

interface ApiPlatform\GraphQl\Resolver\QueryItemResolverInterface
{
    public __invoke(null|object $item, array $context): object
}
interface ApiPlatform\GraphQl\Resolver\QueryItemResolverInterface
{
    public __invoke(null|object $item, array $context): object
}

Methods

__invoke

public __invoke(null|object $item, array $context): object
public __invoke(null|object $item, array $context): object

Parameters

itemobject
contextarray

Returns

object

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop