makeFilesCage() public static method

This utilizes a singleton pattern to get around scoping issues
public static makeFilesCage ( string $config_file = null, boolean $strict = true ) : Cage
$config_file string
$strict boolean whether or not to nullify the superglobal array
return Cage
Beispiel #1
0
 /**
  *
  */
 public function testMakeFilesCage()
 {
     $cage = Inspekt::makeFilesCage();
     $this->assertTrue($cage instanceof Cage);
 }