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