Ejemplo n.º 1
0
 public function __construct($field, $from, $to)
 {
     $this->field = $field;
     $from = new GreaterThanEqual($field, $from);
     $to = new LessThanEqual($field, $to);
     parent::__construct($field, array(self::KEY_FROM => $from, self::KEY_TO => $to));
 }
Ejemplo n.º 2
0
 public function __construct($field, $value, $caseSensitive = false)
 {
     $this->caseSensitive = $caseSensitive;
     parent::__construct($field, $value);
 }