public static function registerModulesClass(string $class): bool
    {
        if (class_exists($class) === false) {
            return false;
        }
        $check = new ReflectionClass($class);
        if ($check->implementsInterface("TheCMSThread\\Classes\\Modules") === true) {
            self::$modules_class = $class;
            return true;
        } else {
            return false;
        }
    }
public static function registerModulesClass(string $class): bool
    {
        if (class_exists($class) === false) {
            return false;
        }
        $check = new ReflectionClass($class);
        if ($check->implementsInterface("TheCMSThread\\Classes\\Modules") === true) {
            self::$modules_class = $class;
            return true;
        } else {
            return false;
        }
    }
public static function registerModulesClass ( string $ class ) : bool { if ( class_exists ( $ class ) === false ) { return false ; } $ check = new ReflectionClass ( $ class ) ; if ( $ check -> implementsInterface ( "TheCMSThread\\Classes\\Modules" ) === true ) { self :: $ modules_class = $ class ; return true ; } else { return false ; } }
Register a modules framework class

@param   string  $class  The class name being registered

@return  bool
Register a modules framework class