protected function doSet($id, $data, $ttl = Cache::TTL_NO_EXPIRY) { if (Cache::TTL_NO_EXPIRY == $ttl) { return $this->getHandler()->set($id, $data); } else { return $this->getHandler()->setex($id, $ttl, $data); } }