* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Customer\QueryHandler; use PrestaShop\PrestaShop\Core\Domain\Customer\Query\GetCustomerOrders; use PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\OrderSummary; /** * Interface for handling GetCustomerOrders query */ interface GetCustomerOrdersHandlerInterface { /** * @param GetCustomerOrders $query * * @return OrderSummary[] */ public function handle(GetCustomerOrders $query): array; }