Example #1
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->defaultValidators[] = new Validator32($bank);
     $this->defaultValidators[0]->setWeights(array(2, 3, 4, 5, 6, 7));
     $this->exceptionValidators = Validator51::getExceptionValidators($bank);
 }
Example #2
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->defaultValidators[] = new Validator00($bank);
     $this->defaultValidators[0]->setEnd(4);
     $this->defaultValidators[] = new Validator00($bank);
     $this->defaultValidators[1]->setEnd(4);
     $this->defaultValidators[1]->setDivisor(7);
     $this->exceptionValidators = Validator51::getExceptionValidators($bank);
 }
Example #3
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->defaultValidators[] = new Validator87a($bank);
     $this->defaultValidators[] = new Validator33($bank);
     $this->defaultValidators[1]->setWeights(array(2, 3, 4, 5, 6));
     $this->defaultValidators[1]->setEnd(4);
     $this->defaultValidators[] = new Validator87c($bank);
     // Method D
     $this->defaultValidators[3] = new Validator06($bank);
     $this->defaultValidators[3]->setEnd(3);
     $this->exceptionValidators = Validator51::getExceptionValidators($bank);
 }
Example #4
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->defaultValidators[0] = new Validator33($bank);
     $this->defaultValidators[0]->setWeights(array(2, 3, 4, 5, 6));
     $this->defaultValidators[0]->setEnd(4);
     $this->defaultValidators[1] = new Validator84b($bank);
     // Bundesbank update 2013-06-03
     $this->defaultValidators[2] = new Validator06($bank);
     $this->defaultValidators[2]->setWeights(array(2, 1));
     $this->defaultValidators[2]->setEnd(4);
     $this->defaultValidators[2]->setDivisor(10);
     $this->exceptionValidators = Validator51::getExceptionValidators($bank);
 }