Automattic\WooCommerce\Admin\RemoteInboxNotifications

RuleEvaluator::__construct()publicWC 1.0

Constructor.

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.
Default: null

RuleEvaluator::__construct() code WC 7.1.0

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