public static
\Bitrix\Main\Loader::registerAutoLoadClasses(
string $moduleName,
array $arClasses
);
Registers classes for auto loading.
All the frequently used classes should be registered for auto loading (performance).
It is not necessary to register rarely used classes. They can be found and loaded dynamically.
Parameters
ParameterDescriptionVersion
$moduleNameName of the module. Can be null if classes are not part of any module
$arClassesArray of classes with class names as keys and paths as values.
Exceptions
\Bitrix\Main\LoaderException
Examples