| 1 | <?php |
||
| 8 | class PsrCacheAdapter implements CacheInterface |
||
| 9 | { |
||
| 10 | private $prefix; |
||
| 11 | private $pool; |
||
| 12 | private $lastItem; |
||
| 13 | |||
| 14 | public function __construct(string $prefix, CacheItemPoolInterface $pool) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | */ |
||
| 23 | public function load(string $class): ?ClassMetadata |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritDoc} |
||
| 32 | */ |
||
| 33 | public function put(ClassMetadata $metadata): void |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritDoc} |
||
| 46 | */ |
||
| 47 | public function evict(string $class): void |
||
| 51 | } |
||
| 52 |