This utilizes a singleton pattern to get around scoping issues
public static makeCookieCage ( string $config_file = null, boolean $strict = true ) : |
||
$config_file | string | |
$strict | boolean | whether or not to nullify the superglobal array |
Результат |
/** * */ public function testMakeCookieCage() { $cage = Inspekt::makeCookieCage(); $this->assertTrue($cage instanceof Cage); }