Пример #1
0
 public function __construct($data, $negate = false, $attribute = null)
 {
     parent::__construct(Matcher::BETWEEN, $negate, $attribute);
     $this->betweenMatcherData = $data;
 }
Пример #2
0
 /**
  * @param $data
  * @param bool|false $negate
  */
 public function __construct($data, $negate = false, $attribute = null)
 {
     parent::__construct(Matcher::IN_SEGMENT, $negate, $attribute);
     $this->userDefinedSegmentMatcherData = $data;
 }
Пример #3
0
 public function __construct($data, $negate = false, $attribute = null)
 {
     parent::__construct(Matcher::LESS_THAN_OR_EQUAL_TO, $negate, $attribute);
     $this->unaryNumericMatcherData = $data;
 }
Пример #4
0
 public function __construct($data, $negate = false, $attribute = null)
 {
     parent::__construct(Matcher::WHITELIST, $negate, $attribute);
     $this->whitelistMatcherData = $data;
 }
Пример #5
0
 public function __construct($negate = false, $attribute = null)
 {
     parent::__construct(Matcher::ALL_KEYS, $negate, $attribute);
 }