| 123456789101112131415161718 |
- <?php
- namespace App\Module\User\Validator;
- use UCore\Validator;
- class SPasswordValidator extends Validator
- {
- public function validate(mixed $value, array $data): bool
- {
- if(strlen($value) == 6){
- return true;
- }
- return false;
- }
- }
|