Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors
NotRuleProcessor::__construct
Constructor.
Method of the class: NotRuleProcessor{}
No Hooks.
Returns
null. Nothing (null).
Usage
$NotRuleProcessor = new NotRuleProcessor(); $NotRuleProcessor->__construct( $rule_evaluator );
- $rule_evaluator(RuleEvaluator)
- The rule evaluator to use.
Default: null
NotRuleProcessor::__construct() NotRuleProcessor:: construct code WC 10.4.3
public function __construct( $rule_evaluator = null ) {
$this->rule_evaluator = null === $rule_evaluator
? new RuleEvaluator()
: $rule_evaluator;
}