private function getCachedContent()
    {
        $item = null;

        if (null !== $this->cache) {
            $item = $this->cache->getItem($this->cacheKey);
            $cacheContent = $item->get();

            if ($item->isHit() && null !== $cacheContent) {
                $this->contentCache = $cacheContent;
            }
        }

        return $item;
    }
private function getCachedContent()
    {
        $item = null;

        if (null !== $this->cache) {
            $item = $this->cache->getItem($this->cacheKey);
            $cacheContent = $item->get();

            if ($item->isHit() && null !== $cacheContent) {
                $this->contentCache = $cacheContent;
            }
        }

        return $item;
    }
private function getCachedContent ( ) { $ item = null ; if ( null !== $ this -> cache ) { $ item = $ this -> cache -> getItem ( $ this -> cacheKey ) ; $ cacheContent = $ item -> get ( ) ; if ( $ item -> isHit ( ) && null !== $ cacheContent ) { $ this -> contentCache = $ cacheContent ; } } return $ item ; }
Get the cached content.

@return null|CacheItemInterface
Get the cached content .