form = $form; $this->token = $token; parent::__construct($config); } public function getForm() { return $this->form; } public function getToken() { return $this->token; } public function updateForm(RecoveryForm $form) { return new static($this->getToken(), $form); } }