makeEnvCage() public static method

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