* @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\Command; use PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerId; /** * Transforms guest (customer without password) into registered customer account */ class TransformGuestToCustomerCommand { /** * @var CustomerId */ private $customerId; /** * @param int $customerId */ public function __construct($customerId) { $this->customerId = new CustomerId($customerId); } /** * @return CustomerId */ public function getCustomerId() { return $this->customerId; } }