Beispiel #1
0
 /**
   Singleton constructor
 */
 private static function init()
 {
     if (class_exists(self::$mechanism)) {
         self::$storage_object = new self::$mechanism();
     } else {
         self::$storage_object = new SessionStorage();
     }
 }