• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/webpacker/module.php
  • Класс: BitrixMainWebWebPackerModule
  • Вызов: Module::__construct
public function __construct($name, ResourcePackage $package = null, ResourceProfile $profile = null)
{
	$this->name = $name;

	if ($package)
	{
		$this->package = $package;
	}
	if ($profile)
	{
		$this->profile = $profile;
	}
}