public function __construct($comparator, $field, $value) { $this->comparator = $comparator; $this->field = $field; $this->value = $value; }