PHP Class GraphQL\Type\SchemaValidator

Afficher le fichier Open project: webonyx/graphql-php Class Usage Examples

Méthodes publiques

Méthode Description
getAllRules ( )
interfacePossibleTypesMustImplementTheInterfaceRule ( )
interfacesAreCorrectlyImplemented ( ) Enforce correct interface implementations
noInputTypesAsOutputFieldsRule ( )
noOutputTypesAsInputArgsRule ( )
typesInterfacesMustShowThemAsPossibleRule ( )
validate ( Schema $schema, $argRules = null ) : array

Private Methods

Méthode Description
assertObjectImplementsInterface ( Schema $schema, ObjectType $object, InterfaceType $iface )

Method Details

getAllRules() public static méthode

public static getAllRules ( )

interfacePossibleTypesMustImplementTheInterfaceRule() public static méthode

interfacesAreCorrectlyImplemented() public static méthode

Enforce correct interface implementations

noInputTypesAsOutputFieldsRule() public static méthode

public static noInputTypesAsOutputFieldsRule ( )

noOutputTypesAsInputArgsRule() public static méthode

public static noOutputTypesAsInputArgsRule ( )

typesInterfacesMustShowThemAsPossibleRule() public static méthode

validate() public static méthode

public static validate ( Schema $schema, $argRules = null ) : array
$schema GraphQL\Schema
Résultat array