public function getAggregationCacheKey(Aggregation $aggregation, EntityDefinition $definition, Criteria $criteria, Context $context): string
    {
        $keys = [
            md5(json_encode($aggregation)),
            $this->getDefinitionCacheKey($definition),
            $this->getAggregationHash($criteria),
            $this->getContextHash($context),
        ];

        return md5(implode('-', $keys));
    }
public function getAggregationCacheKey(Aggregation $aggregation, EntityDefinition $definition, Criteria $criteria, Context $context): string
    {
        $keys = [
            md5(json_encode($aggregation)),
            $this->getDefinitionCacheKey($definition),
            $this->getAggregationHash($criteria),
            $this->getContextHash($context),
        ];

        return md5(implode('-', $keys));
    }
public function getAggregationCacheKey ( Aggregation $ aggregation , EntityDefinition $ definition , Criteria $ criteria , Context $ context ) : string { $ keys = [ md5 ( json_encode ( $ aggregation ) ) , $ this -> getDefinitionCacheKey ( $ definition ) , $ this -> getAggregationHash ( $ criteria ) , $ this -> getContextHash ( $ context ) , ] ; return md5 ( implode ( '-' , $ keys ) ) ; }
Generates the unique cache key for the provided aggregation. Used as cache key for cached aggregation results.
Generates the unique cache key for the provided aggregation . Used as cache key for cached aggregation results .