| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace UserAccessManager\Cache; |
| 6 |
|
| 7 |
use UserAccessManager\Config\Config; |
| 8 |
|
| 9 |
interface CacheProviderInterface |
| 10 |
{ |
| 11 |
public function getId(): string; |
| 12 |
|
| 13 |
public function init(): void; |
| 14 |
|
| 15 |
public function getConfig(): Config; |
| 16 |
|
| 17 |
public function add(string $key, mixed $value); |
| 18 |
|
| 19 |
public function get(string $key): mixed; |
| 20 |
|
| 21 |
public function invalidate(string $key); |
| 22 |
} |
| 23 |
|