1 | <?php |
||
10 | class CacheManager implements CacheManagerInterface |
||
11 | { |
||
12 | /** @var string **/ |
||
13 | protected $defaultDriver = 'memory'; |
||
14 | /** @var array **/ |
||
15 | protected $pools; |
||
16 | /** @var array **/ |
||
17 | protected $options; |
||
18 | |||
19 | 7 | public function __construct(array $options = []) |
|
23 | |||
24 | 2 | public function save(CacheItemInterface $item) |
|
28 | |||
29 | public function getItem(string $key, string $driver = null, int $ttl = null): CacheItemInterface |
||
42 | |||
43 | 3 | public function getItemPool(string $driver): CacheItemPoolInterface |
|
51 | } |
||
52 |