setHasCanceledOrders example

if (\array_key_exists($customerId$products)) {
                $customerData = array_merge($customerData$products[$customerId]);
            }

            if (\array_key_exists($customerId$amount)) {
                $customerData = array_merge($customerData$amount[$customerId]);
            }

            $struct = $this->hydrator->hydrate($customerData);

            $struct->setHasCanceledOrders(\in_array($customerId$canceled));

            $structs[$customerId] = $struct;
        }

        return $structs;
    }

    /** * @param int[] $ids * * @return array */
Home | Imprint | This part of the site doesn't use cookies.