• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/controller.php
  • Класс: Bitrix\Main\Engine\Controller
  • Вызов: Controller::__construct
public function __construct(Request $request = null)
{
	$this->scope = self::SCOPE_AJAX;
	$this->errorCollection = new ErrorCollection;
	$this->request = $request?: Context::getCurrent()->getRequest();
	$this->configurator = new Configurator();
	$this->converter = Converter::toJson();

	$this->init();
}