| 1 | <?php |
||
| 10 | class PasswordValidator extends Validator implements PasswordValidatorInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string login attribute name |
||
| 14 | */ |
||
| 15 | public $loginAttribute = 'login'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string password attribute name |
||
| 19 | */ |
||
| 20 | public $passwordAttribute = 'current_password'; |
||
| 21 | |||
| 22 | public function init() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function validateAttribute($model, $attribute) |
||
| 49 | |||
| 50 | public function inlineFor(Model $model): \Closure |
||
| 56 | } |
||
| 57 |