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.
Метод класса: TypeRegistry{}
Хуков нет.
Возвращает
Массив.
Использование
$result = TypeRegistry::get_interface_implementors(): array;
Код TypeRegistry::get_interface_implementors() TypeRegistry::get interface implementors WC 11.0.1
public static function get_interface_implementors(): array {
return array(
ProductVariation::get(),
ExternalProduct::get(),
VariableProduct::get(),
SimpleProduct::get(),
Coupon::get(),
);
}