Conditions | 2 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | 1 | public function get(array $identifier) |
|
30 | { |
||
31 | 1 | $data = $this->delegate->get($identifier); |
|
32 | |||
33 | 1 | $this->logger->debug( |
|
34 | 1 | sprintf('Entity cache %s', null === $data ? 'HIT' : 'MISS'), |
|
35 | 1 | ['class' => $this->getMetadata()->getName(), 'identifiers' => $identifier] |
|
36 | 1 | ); |
|
37 | |||
38 | 1 | return $data; |
|
39 | } |
||
40 | |||
58 |