public function getDecorated(): AbstractSalutationRoute
{ return $this->decorated;
} #[Route(path: '/store-api/salutation', name: 'store-api.salutation', methods: ['GET', 'POST'], defaults: ['_entity' => 'salutation'])]
public function load(Request
$request, SalesChannelContext
$context, Criteria
$criteria): SalutationRouteResponse
{ if ($context->
hasState(...
$this->states
)) { return $this->
getDecorated()->
load($request,
$context,
$criteria);
} $key =
$this->
generateKey($request,
$context,
$criteria);
if ($key === null
) { return $this->
getDecorated()->
load($request,
$context,
$criteria);
} $value =
$this->cache->
get($key,
function DItemInterface
$item) use ($request,
$context,
$criteria) { $name = self::
buildName();