generateTokenUlidCommand->execute() . '_' . time(); $data = [ 'id' => $captcha->id, 'coordinators' => $coordinators ]; if (!Cache::driver('redis')->add($key, $data, $expires) ) { throw new DataCaptchaRepositoryException('Could not create cache for captcha: ' . $captcha->id . ' key: ' . $key); } return $key; } }