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