public function configure(Cache $cacheConfig) { $this->cacheConfig = $cacheConfig; $this->config = $cacheConfig->getOptions()->toArray(); $this->testConfig($this->config); $this->setup($this->config); }