where('id', $id)->first(); } public function getCaptchaByUuid(CaptchaToken $captchaToken, string $uuid): ?Captcha { return $captchaToken->captchas()->where('uuid', $uuid)->first(); } }