Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class AttributesMapperCache implements AttributesMapperInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var AttributesMapperInterface |
||
16 | */ |
||
17 | protected $mapper; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $cacheKey; |
||
23 | |||
24 | /** |
||
25 | * @var CacheInterface |
||
26 | */ |
||
27 | private $cache; |
||
28 | |||
29 | public function __construct(AttributesMapperInterface $mapper, CacheInterface $cache, string $cacheKey) |
||
30 | { |
||
31 | $this->mapper = $mapper; |
||
32 | $this->cache = $cache; |
||
33 | $this->cacheKey = $cacheKey; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @inheritDoc |
||
38 | */ |
||
39 | public function mapHandlers(): array |
||
48 | } |
||
49 | } |
||
50 |