Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

InputObjectField::getTypepublicWC 1.0

Method of the class: InputObjectField{}

No Hooks.

Returns

Type&InputType.

Usage

$InputObjectField = new InputObjectField();
$InputObjectField->getType(): Type;

InputObjectField::getType() code WC 10.9.1

public function getType(): Type
{
    if (! isset($this->type)) {
        $this->type = Schema::resolveType($this->config['type']);
    }

    return $this->type;
}