WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

RuleEvaluator::__construct() public WC 1.0

Constructor.

{} It's a method of the class: RuleEvaluator{}

No Hooks.

Return

null. Nothing.

Usage

$RuleEvaluator = new RuleEvaluator();
$RuleEvaluator->__construct( $get_rule_processor );
$get_rule_processor(GetRuleProcessor)
The GetRuleProcessor to use.

Code of RuleEvaluator::__construct() WC 5.2.2

<?php
public function __construct( $get_rule_processor = null ) {
	$this->get_rule_processor = null === $get_rule_processor
		? new GetRuleProcessor()
		: $get_rule_processor;
}