major update
This commit is contained in:
15
lib/Service/Security/SecurityRepositoryFactory.php
Normal file
15
lib/Service/Security/SecurityRepositoryFactory.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Service\Security;
|
||||
|
||||
use MintyPHP\Repository\Security\RateLimitRepository;
|
||||
|
||||
class SecurityRepositoryFactory
|
||||
{
|
||||
private ?RateLimitRepository $rateLimitRepository = null;
|
||||
|
||||
public function createRateLimitRepository(): RateLimitRepository
|
||||
{
|
||||
return $this->rateLimitRepository ??= new RateLimitRepository();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user