Automattic\WooCommerce\Proxies

LegacyProxy::get_instance_of_wc_queue_interfaceprivateWC 1.0

Get an instance of a class implementing WC_Queue_Interface.

Method of the class: LegacyProxy{}

No Hooks.

Returns

\WC_Queue_Interface. The instance.

Usage

// private - for code of main (parent) class only
$result = $this->get_instance_of_wc_queue_interface();

LegacyProxy::get_instance_of_wc_queue_interface() code WC 10.4.3

private function get_instance_of_wc_queue_interface() {
	return \WC_Queue::instance();
}