* @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\Cart\QueryHandler; use PrestaShop\PrestaShop\Core\Domain\Cart\Query\GetLastEmptyCustomerCart; use PrestaShop\PrestaShop\Core\Domain\Cart\ValueObject\CartId; /** * Interface for handling GetLastEmptyCustomerCart query */ interface GetLastEmptyCustomerCartHandlerInterface { /** * @param GetLastEmptyCustomerCart $query * * @return CartId */ public function handle(GetLastEmptyCustomerCart $query): CartId; }