src/precore/lang/ObjectClass.php
public static function init() : void
    {
        self::$classMap = new CallbackLazyMap(
            function ($className) {
                $trimmedClassName = trim($className, '\\');
                return $trimmedClassName === $className
                    ? new ObjectClass($className)
                    : ObjectClass::$classMap->$trimmedClassName;
            }
        );
    }
public static function init() : void
    {
        self::$classMap = new CallbackLazyMap(
            function ($className) {
                $trimmedClassName = trim($className, '\\');
                return $trimmedClassName === $className
                    ? new ObjectClass($className)
                    : ObjectClass::$classMap->$trimmedClassName;
            }
        );
    }
public static function init ( ) : void { self :: $ classMap = new CallbackLazyMap ( function ( $ className ) { $ trimmedClassName = trim ( $ className , '\\' ) ; return $ trimmedClassName === $ className ? new ObjectClass ( $ className ) : ObjectClass :: $ classMap -> $ trimmedClassName ; } ) ; }
Do not call from your code, workaround to initialize static variable.
Do not call from your code workaround to initialize static variable .