protected function initialize($config) { $couchbase = new \Couchbase($config['hosts'], $config['user'], $config['password'], $config['bucket'], $config['persistent']); $cache = new CouchbaseCache(); $cache->setCouchbase($couchbase); return $cache; }