protected function _afterRepositoryFetch(AnCommandContext $context)
    {
        if ($this->_enable) {
            $key = $this->_getCacheKey($context->query);
            self::$_cache->offsetSet($key, $context->data);
        }
    }
protected function _afterRepositoryFetch(AnCommandContext $context)
    {
        if ($this->_enable) {
            $key = $this->_getCacheKey($context->query);
            self::$_cache->offsetSet($key, $context->data);
        }
    }
protected function _afterRepositoryFetch ( AnCommandContext $ context ) { if ( $ this -> _enable ) { $ key = $ this -> _getCacheKey ( $ context -> query ) ; self :: $ _cache -> offsetSet ( $ key , $ context -> data ) ; } }
Stores the objects in the cache. This cache is persisted during the
request life cycle.

@param AnCommandContext $context
Stores the objects in the cache . This cache is persisted during the request life cycle .