foreach (['id', 'userID', 'orderID', 'customernumber', 'phone', 'ustid', 'country', 'state', 'attribute'
] as $key) { unset($addressA[$key],
$addressB[$key]);
} return \
count(array_diff($addressA,
$addressB)) === 0;
} private function persistBasket(): string
{ $generator =
$this->
get('basket_signature_generator'
);
$basket =
$this->session->
offsetGet('sOrderVariables'
)->
getArrayCopy();
$signature =
$generator->
generateSignature($basket['sBasket'
],
$this->session->
get('sUserId'
));
$persister =
$this->
get('basket_persister'
);
$persister->
persist($signature,
$basket);
return $signature;
} /**
* Updates all currency dependencies (e.g. in the shop model or in the shop context).
*/
private function updateCurrencyDependencies(int
$currencyId): void
{