Skip to content

Latest commit

 

History

History
118 lines (38 loc) · 1.11 KB

InterfaceImplementations.md

File metadata and controls

118 lines (38 loc) · 1.11 KB

InterfaceImplementations

A way to track interface implementations.

Distinguishes between implementations by ObjectTypes and InterfaceTypes.

  • Full name: \GraphQL\Utils\InterfaceImplementations

Properties

objects

private array<int,\GraphQL\Type\Definition\ObjectType> $objects

interfaces

private array<int,\GraphQL\Type\Definition\InterfaceType> $interfaces

Methods

__construct

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>

objects

public objects(): array&lt;int,\GraphQL\Type\Definition\ObjectType&gt;

interfaces

public interfaces(): array&lt;int,\GraphQL\Type\Definition\InterfaceType&gt;