1 | <?php |
||
11 | class ResetPasswordForm extends Model |
||
12 | { |
||
13 | public $password; |
||
14 | |||
15 | /** |
||
16 | * @var \zacksleo\yii2\backend\models\Admin |
||
17 | */ |
||
18 | private $_user; |
||
19 | |||
20 | |||
21 | /** |
||
22 | * Creates a form model given a token. |
||
23 | * |
||
24 | * @param string $token |
||
25 | * @param array $config name-value pairs that will be used to initialize the object properties |
||
26 | * @throws \yii\base\InvalidParamException if token is empty or not valid |
||
27 | */ |
||
28 | 1 | public function __construct($token, $config = []) |
|
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | 1 | public function rules() |
|
50 | |||
51 | /** |
||
52 | * Resets password. |
||
53 | * |
||
54 | * @return bool if password was reset. |
||
55 | */ |
||
56 | 1 | public function resetPassword() |
|
60 | } |
||
61 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.