| 1 | <?php |
||
| 18 | class ResetPasswordEvent extends Event |
||
| 19 | { |
||
| 20 | const EVENT_BEFORE_TOKEN_VALIDATE = 'beforeTokenValidate'; |
||
| 21 | const EVENT_AFTER_TOKEN_VALIDATE = 'afterTokenValidate'; |
||
| 22 | const EVENT_BEFORE_RESET = 'beforeReset'; |
||
| 23 | const EVENT_AFTER_RESET = 'afterReset'; |
||
| 24 | |||
| 25 | protected $form; |
||
| 26 | protected $token; |
||
| 27 | |||
| 28 | public function __construct(Token $token = null, RecoveryForm $form = null, array $config = []) |
||
| 35 | |||
| 36 | public function getForm() |
||
| 40 | |||
| 41 | public function getToken() |
||
| 45 | |||
| 46 | public function updateForm(RecoveryForm $form) |
||
| 50 | } |
||
| 51 |