private function getCache(InputInterface $input) { if (null === $this->cache) { $cacheAdapter = new File([File::DIR => $input->getOption('cache')]); $this->cache = new BrowscapCache($cacheAdapter); } return $this->cache; }