| 1 | <?php |
||
| 20 | class CacheProvider |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The config. |
||
| 24 | * |
||
| 25 | * @var Config |
||
| 26 | */ |
||
| 27 | protected $config; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The cache. |
||
| 31 | * |
||
| 32 | * @var Cache |
||
| 33 | */ |
||
| 34 | protected $cache; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Create cache provider object. |
||
| 38 | * |
||
| 39 | * @param Config $config |
||
| 40 | */ |
||
| 41 | 4 | public function __construct(Config $config) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Get cache. |
||
| 48 | * |
||
| 49 | * @return Cache |
||
| 50 | */ |
||
| 51 | 4 | public function getCache() |
|
| 66 | } |
||
| 67 |