OrderShopInterface $orderShop2, | OrderShopInterface $orderShop2, | ||||
$persist = true | $persist = true | ||||
): OrderShopInterface { | ): OrderShopInterface { | ||||
//TODO essayer de comprendre prk on doit faire un refresh ici ??? | |||||
$this->entityManager->refresh($orderShop1); | $this->entityManager->refresh($orderShop1); | ||||
$this->entityManager->refresh($orderShop2); | $this->entityManager->refresh($orderShop2); | ||||
if ($orderShop1 && $orderShop2) { | if ($orderShop1 && $orderShop2) { |