/** * @return LBoxConfigSystem * @throws Exception */ public static function getInstance() { $className = __CLASS__; try { if (!isset(self::$instance)) { self::$instance = new $className(); } return self::$instance; } catch (Exception $e) { throw $e; } }