* @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\GetCustomerCarts; use PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\CartSummary; /** * Interface for handling GetCustomerCarts query */ interface GetCustomerCartsHandlerInterface { /** * @param GetCustomerCarts $query * * @return CartSummary[] */ public function handle(GetCustomerCarts $query): array; }