• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/cli/ormannotatecommand.php
  • Класс: BitrixMainCliOrmAnnotateCommand
  • Вызов: OrmAnnotateCommand::handleVirtualClasses
protected function handleVirtualClasses($inputModules, InputInterface $input, OutputInterface $output)
{
	// init new classes by event
	$event = new BitrixMainEvent("main", "onVirtualClassBuildList", [], $inputModules);
	$event->send();

	// no need to handle event result, get classes from the memory
	$classes = $this->getDeclaredClassesDiff();

	$this->handleClasses($classes, $input, $output);
}