Automattic\WooCommerce\Proxies

LegacyProxy::get_instance_of_wc_queue_interface()privateWC 1.0

Get an instance of a class implementing WC_Queue_Interface.

Method of the class: LegacyProxy{}

No Hooks.

Return

\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 8.7.0

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