$this->appMapping = null;
} /**
* @throws InvalidKeyException
* @throws InvalidUuidException
*/
private function validate(string
$key, ?string
$salesChannelId): void
{ $key =
trim($key);
if ($key === ''
) { throw new InvalidKeyException('key may not be empty'
);
} if ($salesChannelId && !Uuid::
isValid($salesChannelId)) { throw new InvalidUuidException($salesChannelId);
} } /**
* @return array<string, string>
*/
private function getAppMapping(): array
{