Example #1
0
 /**
  * Destroys the current instance. Next time getInstance is called a new
  * instance will be created.
  */
 public static function reset()
 {
     if (self::$_instance != null) {
         self::$_instance->_wrapperRegistry = array();
     }
     self::$_instance = null;
 }