Table of Contents
-
DEFAULT_DEPRECATION_REASON
= 'No longer supported'
-
DEPRECATED_NAME
= 'deprecated'
-
IF_ARGUMENT_NAME
= 'if'
-
INCLUDE_NAME
= 'include'
-
REASON_ARGUMENT_NAME
= 'reason'
-
SKIP_NAME
= 'skip'
-
$args
: array<string|int, FieldArgument>
-
$astNode
: DirectiveDefinitionNode|null
-
$config
: array<string|int, mixed>
-
$description
: string|null
-
$internalDirectives
: array<string|int, Directive>|null
-
$isRepeatable
: bool
-
$locations
: array<string|int, string>
-
$name
: string
-
__construct()
: mixed
-
deprecatedDirective()
: Directive
-
getInternalDirectives()
: array<string|int, Directive>
-
includeDirective()
: Directive
-
isSpecifiedDirective()
: bool
-
skipDirective()
: Directive
DEFAULT_DEPRECATION_REASON
public
mixed
DEFAULT_DEPRECATION_REASON
= 'No longer supported'
DEPRECATED_NAME
public
mixed
DEPRECATED_NAME
= 'deprecated'
IF_ARGUMENT_NAME
public
mixed
IF_ARGUMENT_NAME
= 'if'
INCLUDE_NAME
public
mixed
INCLUDE_NAME
= 'include'
REASON_ARGUMENT_NAME
public
mixed
REASON_ARGUMENT_NAME
= 'reason'
SKIP_NAME
public
mixed
SKIP_NAME
= 'skip'
$args
public
array<string|int, FieldArgument>
$args
= []
$astNode
public
DirectiveDefinitionNode|null
$astNode
$config
public
array<string|int, mixed>
$config
$description
public
string|null
$description
$internalDirectives
public
static array<string|int, Directive>|null
$internalDirectives
$isRepeatable
public
bool
$isRepeatable
$locations
public
array<string|int, string>
$locations
$name
public
string
$name
__construct()
public
__construct(array<string|int, mixed> $config) : mixed
Parameters
-
$config
: array<string|int, mixed>
-
Return values
mixed
—
deprecatedDirective()
public
static deprecatedDirective() : Directive
Return values
Directive
—
getInternalDirectives()
public
static getInternalDirectives() : array<string|int, Directive>
Return values
array<string|int, Directive>
—
includeDirective()
public
static includeDirective() : Directive
Return values
Directive
—
isSpecifiedDirective()
public
static isSpecifiedDirective(Directive $directive) : bool
Parameters
-
$directive
: Directive
-
Return values
bool
—
skipDirective()
public
static skipDirective() : Directive
Return values
Directive
—