Automattic\WooCommerce\Admin\RemoteInboxNotifications

NotRuleProcessor::__construct()publicWC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Код NotRuleProcessor::__construct() WC 7.1.0

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