1 | <?php |
||
6 | class StringValidation |
||
7 | { |
||
8 | /** |
||
9 | * String between X chars and Y chars |
||
10 | * @param mixed $value String to validate |
||
11 | * @param int $minLength |
||
12 | * @param int $maxLength |
||
13 | * @param string $encoding |
||
14 | * |
||
15 | * @return bool |
||
16 | */ |
||
17 | public function isStringBetweenValid($value, int $minLength, int $maxLength, $encoding = 'utf8'): bool |
||
34 | } |
||
35 |