FieldArgument
Table of Contents
-
$astNode
: InputValueDefinitionNode|null
-
$config
: array<string|int, mixed>
-
$defaultValue
: mixed
-
$description
: string|null
-
$name
: string
-
$type
: Type|InputType
-
__construct()
: mixed
-
assertValid()
: mixed
-
createMap()
: array<string|int, FieldArgument>
-
defaultValueExists()
: bool
-
getType()
: Type
-
isRequired()
: bool
$astNode
public
InputValueDefinitionNode|null
$astNode
$config
public
array<string|int, mixed>
$config
$defaultValue
public
mixed
$defaultValue
$description
public
string|null
$description
$name
public
string
$name
$type
private
Type|InputType
$type
__construct()
public
__construct(array<string|int, mixed> $def) : mixed
Parameters
-
$def
: array<string|int, mixed>
-
Return values
mixed
—
assertValid()
public
assertValid(FieldDefinition $parentField, Type $parentType) : mixed
Parameters
-
$parentField
: FieldDefinition
-
-
$parentType
: Type
-
Return values
mixed
—
createMap()
public
static createMap(array<string|int, mixed> $config) : array<string|int, FieldArgument>
Parameters
-
$config
: array<string|int, mixed>
-
Return values
array<string|int, FieldArgument>
—
defaultValueExists()
public
defaultValueExists() : bool
Return values
bool
—
getType()
public
getType() : Type
Return values
Type
—
isRequired()
public
isRequired() : bool
Return values
bool
—