public function gc($force = false) { if ($force || mt_rand(0, 1000000) < $this->gcProbability) { $this->db->getCollection($this->cacheCollection)->remove(['expire' => ['$gt' => 0, '$lt' => time()]]); } }