PHP 클래스 GraphQL\Validator\Rules\VariablesInAllowedPosition

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

공개 프로퍼티들

프로퍼티 타입 설명
$varDefMap

공개 메소드들

메소드 설명
__invoke ( ValidationContext $context )
badVarPosMessage ( $varName, $varType, $expectedType )

비공개 메소드들

메소드 설명
effectiveType ( $varType, $varDef ) If a variable definition has a default value, it's effectively non-null.
varTypeAllowedForType ( $varType, $expectedType ) be more strict than the expected item type.

메소드 상세

__invoke() 공개 메소드

public __invoke ( ValidationContext $context )
$context GraphQL\Validator\ValidationContext

badVarPosMessage() 정적인 공개 메소드

static public badVarPosMessage ( $varName, $varType, $expectedType )

프로퍼티 상세

$varDefMap 공개적으로 프로퍼티

public $varDefMap