* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\Supplier\Command; use PrestaShop\PrestaShop\Core\Domain\Supplier\Exception\SupplierException; use PrestaShop\PrestaShop\Core\Domain\Supplier\ValueObject\SupplierId; /** * Deletes supplier logo image */ class DeleteSupplierLogoImageCommand { /** * @var SupplierId */ private $supplierId; /** * @param int $supplierId * * @throws SupplierException */ public function __construct(int $supplierId) { $this->supplierId = new SupplierId($supplierId); } /** * @return SupplierId */ public function getSupplierId(): SupplierId { return $this->supplierId; } }