Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors
NotRuleProcessor::__construct()
Constructor.
Method of the class: NotRuleProcessor{}
No Hooks.
Return
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 9.8.2
public function __construct( $rule_evaluator = null ) { $this->rule_evaluator = null === $rule_evaluator ? new RuleEvaluator() : $rule_evaluator; }