1 | <?php |
||
10 | final class VoidEntityCache implements EntityDataCacheInterface |
||
11 | { |
||
12 | /** @var ApiMetadata */ |
||
13 | private $metadata; |
||
14 | /** |
||
15 | * @var LoggerInterface |
||
16 | */ |
||
17 | private $logger; |
||
18 | |||
19 | /** |
||
20 | * VoidEntityCache constructor. |
||
21 | * |
||
22 | * @param ApiMetadata $metadata |
||
23 | * @param LoggerInterface $logger |
||
24 | */ |
||
25 | 26 | public function __construct(ApiMetadata $metadata, LoggerInterface $logger = null) |
|
30 | |||
31 | /** {@inheritdoc} */ |
||
32 | 13 | public function get(array $identifier) |
|
38 | |||
39 | /** {@inheritdoc} */ |
||
40 | 13 | public function set(array $identifier, $data) |
|
44 | |||
45 | /** {@inheritdoc} */ |
||
46 | public function getConfiguration() |
||
50 | |||
51 | /** {@inheritdoc} */ |
||
52 | 13 | public function getMetadata() |
|
56 | |||
57 | 13 | private function logSkip() |
|
63 | |||
64 | /** {@inheritdoc} */ |
||
65 | public function clear(array $identifier) |
||
69 | } |
||
70 |