protected function getFromCache($channel) { if (!$this->cache) { throw new LogicException('You need set to cache provider'); } if ($this->getCache()->has($channel)) { return $this->getCache()->get($channel); } return false; }