public function readCache()
{
if ($this->existCache()) {
\Yii::beginProfile('read cache: ' . $this->name);
$this->result = (array) unserialize(file_get_contents($this->getCacheFile()));
\Yii::endProfile('read cache: ' . $this->name);
} else {
$this->result = $this->merge();
$this->saveCache();
}
return $this->result;
}