public function setUp() { $this->fields = $this->Fields(); $this->re = RuleEvaluator::create(); }
/** * execure the condition stored in this instance * @return bool */ protected function execCondition() { if (class_exists('RuleEvaluator')) { return RuleEvaluator::create()->Execute($this->condition, $this->field->getForm()->Fields()); } return true; }