Example #1
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->mode1 = new Validator33($bank);
     $this->mode1->setWeights(array(2, 3, 4, 5, 6));
     $this->mode2 = new Validator10($bank);
 }
Example #2
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->setWeights(array(2, 4, 8, 5, 10, 0, 0, 0, 0));
 }