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