Automattic\WooCommerce\Internal\Api\Autogenerated\GraphQLTypes\Pagination
ProductVariationEdge::get
Method of the class: ProductVariationEdge{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = ProductVariationEdge::get(): ObjectType;
ProductVariationEdge::get() ProductVariationEdge::get code WC 10.9.1
public static function get(): ObjectType {
if ( null === self::$instance ) {
self::$instance = new ObjectType(
array(
'name' => 'ProductVariationEdge',
'fields' => fn() => array(
'cursor' => array(
'type' => Type::nonNull( Type::string() ),
),
'node' => array(
'type' => Type::nonNull( ProductVariationType::get() ),
),
),
)
);
}
return self::$instance;
}