PHP 클래스 GraphQL\Type\Definition\Directive

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

공개 프로퍼티들

프로퍼티 타입 설명
$args FieldArgument[]
$description string | null
$directiveLocations array
$internalDirectives array
$locations array Values from self::$locationMap
$name string

공개 메소드들

메소드 설명
__construct ( array $config ) Directive constructor.
deprecatedDirective ( ) : Directive
getInternalDirectives ( ) : array
includeDirective ( ) : Directive
skipDirective ( ) : Directive

메소드 상세

__construct() 공개 메소드

Directive constructor.
public __construct ( array $config )
$config array

deprecatedDirective() 공개 정적인 메소드

public static deprecatedDirective ( ) : Directive
리턴 Directive

getInternalDirectives() 공개 정적인 메소드

public static getInternalDirectives ( ) : array
리턴 array

includeDirective() 공개 정적인 메소드

public static includeDirective ( ) : Directive
리턴 Directive

skipDirective() 공개 정적인 메소드

public static skipDirective ( ) : Directive
리턴 Directive

프로퍼티 상세

$args 공개적으로 프로퍼티

public FieldArgument[],GraphQL\Type\Definition $args
리턴 FieldArgument[]

$description 공개적으로 프로퍼티

public string|null $description
리턴 string | null

$directiveLocations 공개적으로 정적으로 프로퍼티

사용 중단: as of 8.0 (use DirectiveLocation constants directly)
public static array $directiveLocations
리턴 array

$internalDirectives 공개적으로 정적으로 프로퍼티

public static array $internalDirectives
리턴 array

$locations 공개적으로 프로퍼티

Values from self::$locationMap
public array $locations
리턴 array

$name 공개적으로 프로퍼티

public string $name
리턴 string