PHP Class Youshido\GraphQL\Validator\SchemaValidator\SchemaValidator

Show file Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
validate ( AbstractSchema $schema )

Protected Methods

Method Description
assertFieldsIdentical ( Field $intField, Field $objField, AbstractInterfaceType $interface ) : boolean
assertInterfaceImplementationCorrect ( AbstractObjectType $type )

Method Details

assertFieldsIdentical() protected method

protected assertFieldsIdentical ( Field $intField, Field $objField, AbstractInterfaceType $interface ) : boolean
$intField Youshido\GraphQL\Field\Field
$objField Youshido\GraphQL\Field\Field
$interface Youshido\GraphQL\Type\InterfaceType\AbstractInterfaceType
return boolean

assertInterfaceImplementationCorrect() protected method

protected assertInterfaceImplementationCorrect ( AbstractObjectType $type )
$type Youshido\GraphQL\Type\Object\AbstractObjectType

validate() public method

public validate ( AbstractSchema $schema )
$schema Youshido\GraphQL\Schema\AbstractSchema