Automattic\WooCommerce\Internal\Api\Autogenerated
TypeRegistry::get_interface_implementors
Return all concrete types that implement interfaces.
Pass this to the Schema 'types' config so that inline fragments (e.g. ... on VariableProduct) are resolvable.
Method of the class: TypeRegistry{}
No Hooks.
Returns
Array.
Usage
$result = TypeRegistry::get_interface_implementors(): array;
TypeRegistry::get_interface_implementors() TypeRegistry::get interface implementors code WC 10.9.1
public static function get_interface_implementors(): array {
return array(
ProductVariation::get(),
ExternalProduct::get(),
VariableProduct::get(),
SimpleProduct::get(),
Coupon::get(),
);
}