Esempio n. 1
0
 /**
  * Resets the handlers for all groups or for a particular group. Mainly used for testing.
  *
  * @param string|false $group If false, resets all handlers; otherwise, resets the specified handler group
  */
 public static function resetHandlerInfo($group = false)
 {
     if ($group === false) {
         self::$_handlerCache = array();
     } else {
         unset(self::$_handlerCache[strval($group)]);
     }
 }