SchemaExtender
    
            
    
    
    
        
        
    
    Table of Contents
    
            - 
    SCHEMA_EXTENSION
    
         = 'SchemaExtension'                            
- 
    $astBuilder
    
                         : ASTDefinitionBuilder            
- 
    $extendTypeCache
    
                         : array<string|int, Type>            
- 
    $typeExtensionsMap
    
                         : array<string|int, mixed>            
- 
    extend()
    
                                 : Schema    
- 
    checkExtensionNode()
    
                                 : void    
- 
    extendArgs()
    
                                 : array<string|int, mixed>    
- 
    extendDirective()
    
                                 : Directive    
- 
    extendEnumType()
    
                                 : EnumType    
- 
    extendFieldMap()
    
                                 : array<string|int, mixed>    
- 
    extendImplementedInterfaces()
    
                                 : array<int, InterfaceType>    
- 
    extendInputFieldMap()
    
                                 : array<string|int, mixed>    
- 
    extendInputObjectType()
    
                                 : InputObjectType    
- 
    extendInterfaceType()
    
                                 : InterfaceType    
- 
    extendMaybeNamedType()
    
                                 : mixed|null    
- 
    extendNamedType()
    
                                 : mixed    
- 
    extendObjectType()
    
                                 : ObjectType    
- 
    extendPossibleTypes()
    
                                 : array<string|int, ObjectType>    
- 
    extendScalarType()
    
                                 : CustomScalarType    
- 
    extendType()
    
                                 : mixed    
- 
    extendUnionType()
    
                                 : UnionType    
- 
    extendValueMap()
    
                                 : array<string|int, mixed>    
- 
    getExtensionASTNodes()
    
                                 : array<string|int, TypeExtensionNode>|null    
- 
    getMergedDirectives()
    
                                 : array<string|int, Directive>    
- 
    isSpecifiedScalarType()
    
                                 : bool    
        SCHEMA_EXTENSION
        
    
    
    
    
    public
        mixed
    SCHEMA_EXTENSION
    = 'SchemaExtension'
        
        
    
            
        
    
        
                    
    
        $astBuilder
        
        
                                
    
    
    
    
    protected
    static    ASTDefinitionBuilder
    $astBuilder
    
    
    
    
                    
    
        $extendTypeCache
        
        
                                
    
    
    
    
    protected
    static    array<string|int, Type>
    $extendTypeCache
    
    
    
    
                    
    
        $typeExtensionsMap
        
        
                                
    
    
    
    
    protected
    static    array<string|int, mixed>
    $typeExtensionsMap
    
    
    
    
            
            
        
                    
    
        extend()
        
    
    
    
    
    public
            static        extend(Schema $schema, DocumentNode $documentAST[, array<string, bool> $options = [] ][, callable|null $typeConfigDecorator = null ]) : Schema
    
        Parameters
    
                    - 
                $schema
                : Schema
                            
- 
                    
            
- 
                $documentAST
                : DocumentNode
                            
- 
                    
            
- 
                $options
                : array<string, bool>
                 = []            
- 
                
            
- 
                $typeConfigDecorator
                : callable|null
                 = null            
- 
                    
            
Return values
    Schema
            —
        
    
                    
    
        checkExtensionNode()
        
    
    
    
    
    protected
            static        checkExtensionNode(Type $type, Node $node) : void
    
        Parameters
    
                    - 
                $type
                : Type
                            
- 
                    
            
- 
                $node
                : Node
                            
- 
                    
            
                                    - 
                    throws
                
- 
                                                                Error
                                                            
                                             
                                    
Return values
    void
            —
        
    
                    
    
        extendArgs()
        
    
    
    
    
    protected
            static        extendArgs(array<string|int, FieldArgument> $args) : array<string|int, mixed>
    
        Parameters
    
                    - 
                $args
                : array<string|int, FieldArgument>
                            
- 
                
            
Return values
    array<string|int, mixed>
            —
        
    
                    
    
        extendDirective()
        
    
    
    
    
    protected
            static        extendDirective(Directive $directive) : Directive
        
        Parameters
    
                    - 
                $directive
                : Directive
                            
- 
                    
            
Return values
    Directive
            —
        
    
                    
    
        extendEnumType()
        
    
    
    
    
    protected
            static        extendEnumType(EnumType $type) : EnumType
        
        Parameters
    
                    - 
                $type
                : EnumType
                            
- 
                    
            
Return values
    EnumType
            —
        
    
                    
    
        extendFieldMap()
        
    
    
    
    
    protected
            static        extendFieldMap(InterfaceType|ObjectType $type) : array<string|int, mixed>
    
        Parameters
    
                    - 
                $type
                : InterfaceType|ObjectType
                            
- 
                
            
                                    - 
                    throws
                
- 
                                                                Error
                                                            
                                             
                                    
Return values
    array<string|int, mixed>
            —
        
    
                    
    
        extendImplementedInterfaces()
        
    
    
    
    
    protected
            static        extendImplementedInterfaces(ObjectType|InterfaceType $type) : array<int, InterfaceType>
    
        Parameters
    
                    - 
                $type
                : ObjectType|InterfaceType
                            
- 
                
            
Return values
    array<int, InterfaceType>
            —
        
    
                    
    
    
    
    
    protected
            static        extendInputFieldMap(InputObjectType $type) : array<string|int, mixed>
    
        Parameters
    
                    - 
                $type
                : InputObjectType
                            
- 
                    
            
Return values
    array<string|int, mixed>
            —
        
    
                    
    
    
    
    
    protected
            static        extendInputObjectType(InputObjectType $type) : InputObjectType
        
        Parameters
    
                    - 
                $type
                : InputObjectType
                            
- 
                    
            
Return values
    InputObjectType
            —
        
    
                    
    
        extendInterfaceType()
        
    
    
    
    
    protected
            static        extendInterfaceType(InterfaceType $type) : InterfaceType
        
        Parameters
    
                    - 
                $type
                : InterfaceType
                            
- 
                    
            
Return values
    InterfaceType
            —
        
    
                    
    
        extendMaybeNamedType()
        
    
    
    
    
    protected
            static        extendMaybeNamedType([NamedType|null $type = null ]) : mixed|null
    
        Parameters
    
                    - 
                $type
                : NamedType|null
                 = null            
- 
                    
            
Return values
    mixed|null
            —
        
    
                    
    
        extendNamedType()
        
    
    
    
    
    protected
            static        extendNamedType(Type $type) : mixed
        
        Parameters
    
                    - 
                $type
                : Type
                            
- 
                    
            
Return values
    mixed
            —
        
    
                    
    
        extendObjectType()
        
    
    
    
    
    protected
            static        extendObjectType(ObjectType $type) : ObjectType
        
        Parameters
    
                    - 
                $type
                : ObjectType
                            
- 
                    
            
Return values
    ObjectType
            —
        
    
                    
    
        extendPossibleTypes()
        
    
    
    
    
    protected
            static        extendPossibleTypes(UnionType $type) : array<string|int, ObjectType>
    
        Parameters
    
                    - 
                $type
                : UnionType
                            
- 
                    
            
Return values
    array<string|int, ObjectType>
            —
        
    
                    
    
        extendScalarType()
        
    
    
    
    
    protected
            static        extendScalarType(ScalarType $type) : CustomScalarType
        
        Parameters
    
                    - 
                $type
                : ScalarType
                            
- 
                    
            
Return values
    CustomScalarType
            —
        
    
                    
    
        extendType()
        
    
    
    
    
    protected
            static        extendType(mixed $typeDef) : mixed
        
        Parameters
    
                    - 
                $typeDef
                : mixed
                            
- 
                    
            
Return values
    mixed
            —
        
    
                    
    
        extendUnionType()
        
    
    
    
    
    protected
            static        extendUnionType(UnionType $type) : UnionType
        
        Parameters
    
                    - 
                $type
                : UnionType
                            
- 
                    
            
Return values
    UnionType
            —
        
    
                    
    
        extendValueMap()
        
    
    
    
    
    protected
            static        extendValueMap(EnumType $type) : array<string|int, mixed>
    
        Parameters
    
                    - 
                $type
                : EnumType
                            
- 
                    
            
Return values
    array<string|int, mixed>
            —
        
    
                    
    
        getExtensionASTNodes()
        
    
    
    
    
    protected
            static        getExtensionASTNodes(NamedType $type) : array<string|int, TypeExtensionNode>|null
    
        Parameters
    
                    - 
                $type
                : NamedType
                            
- 
                    
            
Return values
    array<string|int, TypeExtensionNode>|null
            —
        
    
                    
    
        getMergedDirectives()
        
    
    
    
    
    protected
            static        getMergedDirectives(Schema $schema, array<string|int, DirectiveDefinitionNode> $directiveDefinitions) : array<string|int, Directive>
    
        Parameters
    
                    - 
                $schema
                : Schema
                            
- 
                    
            
- 
                $directiveDefinitions
                : array<string|int, DirectiveDefinitionNode>
                            
- 
                
            
Return values
    array<string|int, Directive>
            —
        
    
                    
    
        isSpecifiedScalarType()
        
    
    
    
    
    protected
            static        isSpecifiedScalarType(Type $type) : bool
        
        Parameters
    
                    - 
                $type
                : Type
                            
- 
                    
            
Return values
    bool
            —