The international conference on the API Platform Framework
Learn more about the event, register for the conference, and get ready for two days of inspiration, ideas, and knowledge-sharing with our incredible lineup of renowned specialists and advocates.
Register nowReads data of the provided args, it is also called when reading relations in the same query.
class ApiPlatform\GraphQl\State\Provider\ReadProvider implements ApiPlatform\State\ProviderInterface
{
public __construct($provider, `<a href="/docs/references/Api/IriConverterInterface">ApiPlatform\Metadata\IriConverterInterface</a>` $iriConverter, null|`<a href="/docs/references/GraphQl/Serializer/SerializerContextBuilderInterface">ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, string $nestingSeparator)
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object|array
public isSequentialArrayOfArrays(array $array): bool
public isSequentialArray(array $array): bool
public arrayContainsOnly(array $array, string $type): bool
}
public __construct($provider, `<a href="/docs/references/Api/IriConverterInterface">ApiPlatform\Metadata\IriConverterInterface</a>` $iriConverter, null|`<a href="/docs/references/GraphQl/Serializer/SerializerContextBuilderInterface">ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, string $nestingSeparator)
provider | `ApiPlatform\State\ProviderInterface` | |
iriConverter | `ApiPlatform\Metadata\IriConverterInterface` | |
serializerContextBuilder | `ApiPlatform\GraphQl\Serializer\SerializerContextBuilderInterface` | |
nestingSeparator | string |
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object|array
operation | `ApiPlatform\Metadata\Operation` | |
uriVariables | array | |
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