1 | <?php |
||
9 | final class LoggingCache implements EntityDataCacheInterface |
||
10 | { |
||
11 | /** @var EntityDataCacheInterface */ |
||
12 | private $delegate; |
||
13 | /** @var LoggerInterface */ |
||
14 | private $logger; |
||
15 | |||
16 | /** |
||
17 | * LoggingCache constructor. |
||
18 | * |
||
19 | * @param EntityDataCacheInterface $delegate |
||
20 | * @param LoggerInterface $logger |
||
21 | */ |
||
22 | 1 | public function __construct(EntityDataCacheInterface $delegate, LoggerInterface $logger = null) |
|
27 | |||
28 | /** {@inheritdoc} */ |
||
29 | 1 | public function get(array $identifier) |
|
40 | |||
41 | /** {@inheritdoc} */ |
||
42 | 1 | public function set(array $identifier, $data) |
|
51 | |||
52 | /** {@inheritdoc} */ |
||
53 | 1 | public function getMetadata() |
|
57 | |||
58 | /** {@inheritdoc} */ |
||
59 | public function getConfiguration() |
||
63 | |||
64 | /** {@inheritdoc} */ |
||
65 | public function clear(array $identifier) |
||
74 | } |
||
75 |