protected function invalidateQueryCache() { if ($this->query_cache) { $this->query_cache->clear(); if ($this->logger) { $this->logger->info("Query cache invalidated"); } } }