Exemplo n.º 1
0
 /**
  * Returns a SuperglobalsCage object, which wraps ALL input superglobals
  *
  * @param string $config_file
  * @param boolean $strict whether or not to nullify the superglobal
  * @return SuperglobalsCage
  */
 public static function makeSuperCage($config_file = null, $strict = true)
 {
     /**
      * @staticvar $_instance
      */
     static $_scinstance;
     if (!isset($_scinstance)) {
         $_scinstance = SuperglobalsCage::Factory($config_file, $strict);
     }
     return $_scinstance;
 }