* @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\Profile\Command; use PrestaShop\PrestaShop\Core\Domain\Profile\ValueObject\ProfileId; /** * Class DeleteProfileCommand is a command to delete profile by given id. */ class DeleteProfileCommand { /** * @var ProfileId */ private $profileId; /** * @param int $profileId */ public function __construct($profileId) { $this->profileId = new ProfileId((int) $profileId); } /** * @return ProfileId */ public function getProfileId() { return $this->profileId; } }