1 | <?php |
||
19 | class CacheNamingStrategy extends AbstractNamingStrategy |
||
20 | { |
||
21 | /** |
||
22 | * @var NamingStrategyInterface |
||
23 | */ |
||
24 | private $strategy; |
||
25 | |||
26 | /** |
||
27 | * @var CacheItemPoolInterface |
||
28 | */ |
||
29 | private $cache; |
||
30 | |||
31 | /** |
||
32 | * @param NamingStrategyInterface $strategy |
||
33 | * @param CacheItemPoolInterface $cache |
||
34 | */ |
||
35 | 8 | public function __construct(NamingStrategyInterface $strategy, CacheItemPoolInterface $cache) |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | 8 | protected function doConvert($name) |
|
57 | } |
||
58 |