Example #1
0
 public function __construct(Bank $bank)
 {
     parent::__construct($bank);
     $this->setMatrix(array(array(0, 1, 5, 9, 3, 7, 4, 8, 2, 6), array(0, 1, 7, 6, 9, 8, 3, 2, 5, 4), array(0, 1, 8, 4, 6, 2, 9, 5, 7, 3), array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)));
 }
Example #2
0
 /**
  * @param string $account
  * @return bool
  */
 public function isValid($account)
 {
     return (int) $account <= 999999999 ? $this->validator00->isValid($account) : parent::isValid($account);
 }