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