Your IP : 18.220.94.234


Current Path : /var/www/admin_ftp_12/data/www/httpdocs/bitrix/modules/ui/lib/FileUploader/
Upload File :
Current File : /var/www/admin_ftp_12/data/www/httpdocs/bitrix/modules/ui/lib/FileUploader/UploadRequest.php

<?php

namespace Bitrix\UI\FileUploader;

class UploadRequest
{
	protected string $name;
	protected string $contentType = '';
	protected int $size = 0;
	protected int $width = 0;
	protected int $height = 0;

	public function __construct(string $name, string $contentType, int $size)
	{
		$this->name = $name;
		$this->contentType = $contentType;
		$this->size = $size;
	}

	public function getName(): string
	{
		return $this->name;
	}

	public function getContentType(): string
	{
		return $this->contentType;
	}

	public function getSize(): int
	{
		return $this->size;
	}

	public function getWidth(): int
	{
		return $this->width;
	}

	public function setWidth(int $width): void
	{
		$this->width = $width;
	}

	public function getHeight(): int
	{
		return $this->height;
	}

	public function setHeight(int $height): void
	{
		$this->height = $height;
	}
}