Exemplo n.º 1
0
 /**
  * @return LBoxCacheLoader
  * @throws LBoxExceptionCache
  */
 public static function getInstance($fileName = "")
 {
     $className = __CLASS__;
     try {
         if (!self::$instance instanceof $className) {
             self::$instance = new $className();
         }
         return self::$instance;
     } catch (Exception $e) {
         throw $e;
     }
 }