Guides
Tutorials
Read stage of GraphQL resolvers.
class ApiPlatform\GraphQl\Resolver\Stage\ReadStage implements `<a href="/docs/reference/GraphQl/Resolver/Stage/ReadStageInterface">ApiPlatform\GraphQl\Resolver\Stage\ReadStageInterface</a>`
{
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter, ApiPlatform\State\ProviderInterface $provider, 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
}
class ApiPlatform\GraphQl\Resolver\Stage\ReadStage implements `<a href="/docs/reference/GraphQl/Resolver/Stage/ReadStageInterface">ApiPlatform\GraphQl\Resolver\Stage\ReadStageInterface</a>`
{
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter, ApiPlatform\State\ProviderInterface $provider, 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(ApiPlatform\Api\IriConverterInterface $iriConverter, ApiPlatform\State\ProviderInterface $provider, ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, string $nestingSeparator)
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter, ApiPlatform\State\ProviderInterface $provider, ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, string $nestingSeparator)
iriConverter | ApiPlatform\Api\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
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
public isSequentialArrayOfArrays(array $array): bool
array | array |
bool
public isSequentialArray(array $array): bool
public isSequentialArray(array $array): bool
array | array |
bool
public arrayContainsOnly(array $array, string $type): bool
public arrayContainsOnly(array $array, string $type): bool
array | array | |
type | string |
bool