Automattic\WooCommerce\Admin\RemoteInboxNotifications

OrderCountRuleProcessor::__construct()publicWC 1.0

Constructor.

Метод класса: OrderCountRuleProcessor{}

No Hooks.

Return

null. Nothing.

Usage

$OrderCountRuleProcessor = new OrderCountRuleProcessor();
$OrderCountRuleProcessor->__construct( $orders_provider );
$orders_provider(object)
The orders provider.
Default: null

Code of OrderCountRuleProcessor::__construct() WC 7.1.0

public function __construct( $orders_provider = null ) {
	$this->orders_provider = null === $orders_provider
		? new OrdersProvider()
		: $orders_provider;
}