Lines Matching defs:maxLength
28 protected $maxLength = 3;
46 if ($minLength <= 0 || $minLength >= $this->maxLength)
48 throw new \LengthException('$minLength must be greater than zero and less than $this->maxLength.');
55 * @param int $maxLength
58 public function setMaxLength(int $maxLength)
60 if ($maxLength <= $this->minLength)
62 throw new \LengthException('$maxLength must be greater than $this->minLength.');
65 $this->maxLength = $maxLength;
118 for ($i = $this->minLength; $i <= $this->maxLength; ++$i)