2 namespace TYPO3\ClassAliasLoader;
34 if (!static::$classAliasLoader) {
35 return $classNameOrAlias;
37 return static::$classAliasLoader->getClassNameForAlias($classNameOrAlias);
47 return is_object(static::$classAliasLoader);
58 if (!static::$classAliasLoader) {
59 throw new \RuntimeException(
'Cannot set an alias map as the alias loader is not registered!', 1439228111);
62 static::$classAliasLoader->addAliasMap($aliasMap);
70 if (static::$classAliasLoader) {
71 throw new \RuntimeException(
'Cannot set the alias loader, as it is already registered!', 1439228112);