FastFeed\Cache\FastFeed::getFromCache PHP Method

getFromCache() protected method

protected getFromCache ( string $channel ) : array
$channel string
return array
    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;
    }