yield 'filter+sort' =>
[ (new Criteria())->
addFilter(new PrefixFilter('foo', 'bar'
))->
addSorting(new FieldSorting('foo'
)),
'c5d7faee1a855cfdf7f4a5a8807ec0f0',
];
yield 'filter+sort+sort-desc' =>
[ (new Criteria())->
addFilter(new PrefixFilter('foo', 'bar'
))->
addSorting(new FieldSorting('foo', FieldSorting::DESCENDING
)),
'fd5017a9b079d29a790ea9682c11ed74',
];
yield 'filter+agg' =>
[ (new Criteria())->
addFilter(new PrefixFilter('foo', 'bar'
))->
addAggregation(new TermsAggregation('foo', 'foo'
)),
'c8dcaf7970a7ec0a42e52047f0b60b1a',
];
} /**
* @dataProvider contextHashProvider
*/
public function testContextHash(SalesChannelContext
$compared): void
{ $generator =
new EntityCacheKeyGenerator();