Read stage of GraphQL resolvers.
class ApiPlatform\GraphQl\Resolver\Stage\ReadStage implements ApiPlatform\GraphQl\Resolver\Stage\ReadStageInterface
{
public __construct($iriConverter, `<a href="/docs/main/references/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>` $provider, `<a href="/docs/main/references/GraphQl/Serializer/SerializerContextBuilderInterface">ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, string $nestingSeparator)
public __invoke(null|string $resourceClass, null|string $rootClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object|array
public isSequentialArrayOfArrays(array $array): bool
public isSequentialArray(array $array): bool
public arrayContainsOnly(array $array, string $type): bool
}
public __construct($iriConverter, `<a href="/docs/main/references/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>` $provider, `<a href="/docs/main/references/GraphQl/Serializer/SerializerContextBuilderInterface">ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, string $nestingSeparator)
iriConverter | `ApiPlatform\Metadata\IriConverterInterface` | |
provider | `ApiPlatform\State\ProviderInterface` | |
serializerContextBuilder | `ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface` | |
nestingSeparator | string |
public __invoke(null|string $resourceClass, null|string $rootClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object|array
resourceClass | string | |
rootClass | string | |
operation | `ApiPlatform\Metadata\GraphQl\Operation` | |
context | array |
object
array
public isSequentialArrayOfArrays(array $array): bool
array | array |
bool
public isSequentialArray(array $array): bool
array | array |
bool
public arrayContainsOnly(array $array, string $type): bool
array | array | |
type | string |
bool
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