Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

NonNull::__constructpublicWC 1.0

Method of the class: NonNull{}

No Hooks.

Returns

null. Nothing (null).

Usage

$NonNull = new NonNull();
$NonNull->__construct( $type );
$type(Type|callable) (required)
.

NonNull::__construct() code WC 10.9.1

public function __construct($type)
{
    $this->wrappedType = $type;
}