Exemplo n.º 1
0
 public function isValid($account)
 {
     if (parent::isValid($account)) {
         return true;
     }
     $account = ltrim($account, '0') . '000';
     return strlen($account) <= $this->normalizedSize && parent::isValid($account);
 }
Exemplo n.º 2
0
 public function isValid($account)
 {
     $length = strlen(ltrim($account, '0'));
     return ($length == 8 || $length == 9) && $this->validator10->isValid($account) || $length == 7 && parent::isValid($account);
 }
Exemplo n.º 3
0
 public function isValid($account)
 {
     return parent::isValid($account) || $this->isBetween(396000000, 499999999);
 }
Exemplo n.º 4
0
 public function isValid($account)
 {
     return parent::isValid($account) || $this->isBetween(1, 1999999) || $this->isBetween(9000000, 25999999) || $this->isBetween(396000000, 499999999) || $this->isBetween(700000000, 799999999) || $this->isBetween(910000000, 989999999);
 }