WooCommerce Code Reference

InputObjectField
in package

Tags
phpstan-type

ArgumentType (Type&InputType)|callable(): (Type&InputType)

phpstan-type

InputObjectFieldConfig array{ name: string, type: ArgumentType, defaultValue?: mixed, description?: string|null, deprecationReason?: string|null, astNode?: InputValueDefinitionNode|null }

phpstan-type

UnnamedInputObjectFieldConfig array{ name?: string, type: ArgumentType, defaultValue?: mixed, description?: string|null, deprecationReason?: string|null, astNode?: InputValueDefinitionNode|null }

Table of Contents

$astNode  : InputValueDefinitionNode|null
$config  : array<string|int, mixed>
$defaultValue  : mixed
$deprecationReason  : string|null
$description  : string|null
$name  : string
$type  : Type
__construct()  : mixed
assertValid()  : void
defaultValueExists()  : bool
getType()  : Type|InputType
isDeprecated()  : bool
isRequired()  : bool

Properties

Methods