예제 #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
파일: All.php 프로젝트: splitio/php-client
 public function __construct($negate = false, $attribute = null)
 {
     parent::__construct(Matcher::ALL_KEYS, $negate, $attribute);
 }