Пример #1
0
 /**
  * @return LBoxSlotManager
  * @throws Exception
  */
 public static function getInstance()
 {
     $className = __CLASS__;
     try {
         if (!self::$instance instanceof $className) {
             self::$instance = new $className();
         }
         return self::$instance;
     } catch (Exception $e) {
         throw $e;
     }
 }