• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/useragent/browser.php
  • Класс: BitrixMainWebUserAgentBrowser
  • Вызов: Browser::__construct
public function __construct(?string $name = null, ?string $platform = null, ?int $deviceType = null)
{
	$this->name = $name;
	$this->platform = $platform;
	if ($deviceType !== null)
	{
		$this->deviceType = $deviceType;
	}
}