1 | <?php |
||
22 | class ResetPasswordEvent extends Event |
||
23 | { |
||
24 | const EVENT_BEFORE_TOKEN_VALIDATE = 'beforeTokenValidate'; |
||
25 | const EVENT_AFTER_TOKEN_VALIDATE = 'afterTokenValidate'; |
||
26 | const EVENT_BEFORE_RESET = 'beforeReset'; |
||
27 | const EVENT_AFTER_RESET = 'afterReset'; |
||
28 | |||
29 | protected $form; |
||
30 | protected $token; |
||
31 | |||
32 | 1 | public function __construct(Token $token = null, RecoveryForm $form = null, array $config = []) |
|
39 | |||
40 | public function getForm() |
||
44 | |||
45 | 1 | public function getToken() |
|
49 | |||
50 | 1 | public function updateForm(RecoveryForm $form) |
|
54 | } |
||
55 |