return $this->decorated;
} private function generateKey(string
$countryId, Request
$request, SalesChannelContext
$context, Criteria
$criteria): ?string
{ $parts =
[ $countryId,
$this->generator->
getCriteriaHash($criteria),
$context->
getLanguageId(),
];
$event =
new CountryStateRouteCacheKeyEvent($parts,
$request,
$context,
$criteria);
$this->dispatcher->
dispatch($event);
if (!
$event->
shouldCache()) { return null;
} return self::
buildName($countryId) . '-' .
md5(Json::
encode($event->
getParts()));
} /**
* @return array<string>
*/