A way to track interface implementations.
Distinguishes between implementations by ObjectTypes and InterfaceTypes.
- Full name:
\GraphQL\Utils\InterfaceImplementations
private array<int,\GraphQL\Type\Definition\ObjectType> $objects
private array<int,\GraphQL\Type\Definition\InterfaceType> $interfaces
public __construct(array<int,\GraphQL\Type\Definition\ObjectType> $objects, array<int,\GraphQL\Type\Definition\InterfaceType> $interfaces): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$objects |
array<int,\GraphQL\Type\Definition\ObjectType> | |
$interfaces |
array<int,\GraphQL\Type\Definition\InterfaceType> |
public objects(): array<int,\GraphQL\Type\Definition\ObjectType>
public interfaces(): array<int,\GraphQL\Type\Definition\InterfaceType>