PHP 클래스 GraphQL\Type\SchemaValidator

파일 보기 프로젝트 열기: webonyx/graphql-php 1 사용 예제들

공개 메소드들

메소드 설명
getAllRules ( )
interfacePossibleTypesMustImplementTheInterfaceRule ( )
interfacesAreCorrectlyImplemented ( ) Enforce correct interface implementations
noInputTypesAsOutputFieldsRule ( )
noOutputTypesAsInputArgsRule ( )
typesInterfacesMustShowThemAsPossibleRule ( )
validate ( Schema $schema, $argRules = null ) : array

비공개 메소드들

메소드 설명
assertObjectImplementsInterface ( Schema $schema, ObjectType $object, InterfaceType $iface )

메소드 상세

getAllRules() 공개 정적인 메소드

public static getAllRules ( )

interfacePossibleTypesMustImplementTheInterfaceRule() 공개 정적인 메소드

interfacesAreCorrectlyImplemented() 공개 정적인 메소드

Enforce correct interface implementations

noInputTypesAsOutputFieldsRule() 공개 정적인 메소드

public static noInputTypesAsOutputFieldsRule ( )

noOutputTypesAsInputArgsRule() 공개 정적인 메소드

public static noOutputTypesAsInputArgsRule ( )

typesInterfacesMustShowThemAsPossibleRule() 공개 정적인 메소드

validate() 공개 정적인 메소드

public static validate ( Schema $schema, $argRules = null ) : array
$schema GraphQL\Schema
리턴 array