instances added god may help

This commit is contained in:
2026-02-23 12:58:19 +01:00
parent 25370a1a55
commit 99db252f60
290 changed files with 9858 additions and 4914 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace MintyPHP\Service\Auth;
use MintyPHP\Service\User\UserAvatarService;
class AuthAvatarGateway
{
public function __construct(private readonly UserAvatarService $userAvatarService)
{
}
public function isValidUuid(string $uuid): bool
{
return $this->userAvatarService->isValidUuid($uuid);
}
public function saveBinary(string $uuid, string $binary, string $mime): void
{
$this->userAvatarService->saveBinary($uuid, $binary, $mime);
}
}