private RequestTransformer
$requestTransformer;
private string
$deLanguageId;
protected function setUp(): void
{ /** @var list<string> $registeredApiPrefixes */
$registeredApiPrefixes =
$this->
getContainer()->
getParameter('shopware.routing.registered_api_prefixes'
);
$this->requestTransformer =
new RequestTransformer( new CoreRequestTransformer(),
$this->
getContainer()->
get(SeoResolver::
class),
$registeredApiPrefixes,
$this->
getContainer()->
get(DomainLoader::
class) );
$this->deLanguageId =
$this->
getDeDeLanguageId();
} /**
* @dataProvider domainProvider
*
* @param array<string, string|array<string, string>> $salesChannels
* @param ExpectedRequest[] $requests
*/