Your IP : 18.117.156.84


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/main/lib/engine/response/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/main/lib/engine/response/component.php

<?php
namespace Bitrix\Main\Engine\Response;

final class Component extends HtmlContent
{
	/**
	 * Component constructor.
	 *
	 * @param string $componentName
	 * @param string $componentTemplate
	 * @param array $componentParams
	 * @param array $additionalResponseParams
	 * @param mixed $dataKeys
	 */
	public function __construct($componentName, $componentTemplate = '', array $componentParams = [], array $additionalResponseParams = [], $dataKeys = [])
	{
		$componentArea = new ContentArea\Component($componentName, $componentTemplate, $componentParams, $dataKeys);
		parent::__construct($componentArea, self::STATUS_SUCCESS, null, $additionalResponseParams);
	}
}