public function resolve(Request
$request): void
{ if ($request->attributes->
has(PlatformRequest::ATTRIBUTE_CONTEXT_OBJECT
)) { return;
} if (!
$this->
isRequestScoped($request, ApiContextRouteScopeDependant::
class)) { return;
} $params =
$this->
getContextParameters($request);
$languageIdChain =
$this->
getLanguageIdChain($params);
$rounding =
$this->
getCashRounding($params['currencyId'
]);
$context =
new Context( $this->
resolveContextSource($request),
[],
$params['currencyId'
],
$languageIdChain,
$params['versionId'
] ?? Defaults::LIVE_VERSION,
$params['currencyFactory'
],