Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ResetPasswordForm extends Model |
||
10 | { |
||
11 | public $password; |
||
12 | |||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | **/ |
||
16 | public function rules() |
||
21 | ]; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * atributeLabels. |
||
26 | * |
||
27 | * Translate Atribute Labels. |
||
28 | **/ |
||
29 | public function attributeLabels() |
||
30 | { |
||
31 | return [ |
||
32 | 'password' => Yii::getApp()->t('basic', 'Password'), |
||
|
|||
33 | ]; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Resets password. |
||
38 | * |
||
39 | * @return bool if password was reset. |
||
40 | **/ |
||
41 | public function resetPassword() |
||
48 | } |
||
49 | } |
||
50 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.