protected function setCache(DataAbstract $data)
    {
        if (!$this->isCacheEnabled) {
            return $this;
        }

        $this->cache->set($data->getCacheKey(), $data);

        return $this;
    }