Automattic\WooCommerce\Admin\RemoteInboxNotifications

OrRuleProcessor::__construct()publicWC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$OrRuleProcessor = new OrRuleProcessor();
$OrRuleProcessor->__construct( $rule_evaluator );
$rule_evaluator(RuleEvaluator)
The rule evaluator to use.
Default: null

Code of OrRuleProcessor::__construct() WC 7.1.0

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