예제 #1
0
파일: ValidatorA6.php 프로젝트: bmdevel/bav
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->mode1 = new Validator00($bank);
     $this->mode1->setWeights(array(2, 1));
     $this->mode2 = new Validator01($bank);
     $this->mode2->setWeights(array(3, 7, 1));
 }
예제 #2
0
파일: Validator18.php 프로젝트: bmdevel/bav
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->setWeights(array(3, 9, 7, 1));
 }
예제 #3
0
파일: ValidatorB7.php 프로젝트: bmdevel/bav
 protected function getResult()
 {
     return $this->isBetween(1000000, 5999999) || $this->isBetween(700000000, 899999999) ? parent::getResult() : true;
 }