| 1 | <?php |
||
| 12 | class CacheManager implements ContainerInterface |
||
| 13 | { |
||
| 14 | /** @var MainConfig */ |
||
| 15 | protected $config; |
||
| 16 | |||
| 17 | /** @var MapperInterface */ |
||
| 18 | protected $cacheMapper; |
||
| 19 | |||
| 20 | /** @var ContainerInterface */ |
||
| 21 | protected $container; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Manager constructor. |
||
| 25 | * @param MainConfig $config |
||
| 26 | * @param MapperInterface $cacheMapper |
||
| 27 | * @param ContainerInterface $container |
||
| 28 | */ |
||
| 29 | 8 | public function __construct( |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param string $id |
||
| 41 | * |
||
| 42 | * @return CacheInterface |
||
| 43 | */ |
||
| 44 | 3 | public function get($id) |
|
| 62 | |||
| 63 | 4 | public function has($id) |
|
| 67 | |||
| 68 | 1 | public function getConfig() |
|
| 72 | } |
||
| 73 |