/** * Loads the class with the given class name from the index. * * @param string Class Name */ public static function autoload($className) { if (self::$instance == null) { self::$instance = new self(); } self::$instance->loadFile($className); }