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