InputObjectField
Table of Contents
-
$astNode
: InputValueDefinitionNode|null
-
$config
: array<string|int, mixed>
-
$defaultValue
: mixed|null
-
$description
: string|null
-
$name
: string
-
$type
: Type|InputType
-
__construct()
: mixed
-
__get()
: mixed
-
__isset()
: bool
-
__set()
: mixed
-
assertValid()
: mixed
-
defaultValueExists()
: bool
-
getType()
: Type|InputType
-
isRequired()
: bool
$astNode
public
InputValueDefinitionNode|null
$astNode
$config
public
array<string|int, mixed>
$config
$defaultValue
public
mixed|null
$defaultValue
$description
public
string|null
$description
$name
public
string
$name
$type
private
Type|InputType
$type
__construct()
public
__construct(array<string|int, mixed> $opts) : mixed
Parameters
-
$opts
: array<string|int, mixed>
-
Return values
mixed
—
__get()
public
__get(string $name) : mixed
Parameters
-
$name
: string
-
Return values
mixed
—
__isset()
public
__isset(string $name) : bool
Parameters
-
$name
: string
-
Return values
bool
—
__set()
public
__set(string $name, mixed $value) : mixed
Parameters
-
$name
: string
-
-
$value
: mixed
-
Return values
mixed
—
assertValid()
public
assertValid(Type $parentType) : mixed
Parameters
-
$parentType
: Type
-
-
throws
-
InvariantViolation
Return values
mixed
—
defaultValueExists()
public
defaultValueExists() : bool
Return values
bool
—
getType()
public
getType() : Type|InputType
Return values
Type|InputType
—
isRequired()
public
isRequired() : bool
Return values
bool
—