| 1 | <?php |
||
| 14 | class BlackholeCacheItemDecorator implements CacheItemInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Decorated CacheItem implementation. |
||
| 18 | * |
||
| 19 | * @var CacheItemInterface |
||
| 20 | */ |
||
| 21 | private $cacheItem; |
||
| 22 | |||
| 23 | public function __construct(CacheItemInterface $cacheItem) |
||
| 27 | 16 | ||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function getKey(): string |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function get() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function isHit(): bool |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function set($value): CacheItemInterface |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function expiresAt($expiration): CacheItemInterface |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | public function expiresAfter($time): CacheItemInterface |
||
| 75 | |||
| 76 | /** |
||
| 77 | * Returns the decorated CacheItemInterface implementation. |
||
| 78 | */ |
||
| 79 | public function getDecoratedItem(): CacheItemInterface |
||
| 83 | } |
||
| 84 |