Repo Interface für tests

This commit is contained in:
2026-03-05 08:26:51 +01:00
parent 8f4dd5840d
commit 4b31fc7664
171 changed files with 3518 additions and 2297 deletions

View File

@@ -3,12 +3,13 @@
namespace MintyPHP\Service\Security;
use MintyPHP\Repository\Security\RateLimitRepository;
use MintyPHP\Repository\Security\RateLimitRepositoryInterface;
class SecurityRepositoryFactory
{
private ?RateLimitRepository $rateLimitRepository = null;
public function createRateLimitRepository(): RateLimitRepository
public function createRateLimitRepository(): RateLimitRepositoryInterface
{
return $this->rateLimitRepository ??= new RateLimitRepository();
}