* @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\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand; use PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerId; /** * Interface for service that handles command that adds new customer */ interface AddCustomerHandlerInterface { /** * @param AddCustomerCommand $command * * @return CustomerId */ public function handle(AddCustomerCommand $command); }