protected function getValue($key)
{
$query = new Query();
$row = $query->select(['data'])->from($this->cacheCollection)->where(['id' => $key, '$or' => [['expire' => 0], ['expire' => ['$gt' => time()]]]])->one($this->db);
if (empty($row)) {
return false;
} else {
return $row['data'];
}
}