1 | <?php |
||
9 | class PasswordResetRequestForm extends \yii\base\Model |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | public $email; |
||
15 | |||
16 | /** |
||
17 | * @inheritdoc |
||
18 | */ |
||
19 | 7 | public function rules() |
|
32 | |||
33 | /** |
||
34 | * @inheritdoc |
||
35 | */ |
||
36 | 7 | public function attributeLabels() |
|
40 | |||
41 | /** |
||
42 | * Sends an email with a link, for resetting the password |
||
43 | * |
||
44 | * @return boolean |
||
45 | */ |
||
46 | public function sendEmail(): bool |
||
68 | } |
||
69 |