public function guardTokenIsValid(IdentifiesFormRequestSource $token) { if (!$this->token->equals($token)) { throw (new TokenMismatch())->withTokens($this->token, $token); } if ($this->token->isExpired()) { throw new TokenHasExpired(); } }