splAutoloadRegister() public method

Register the autoloader instance with the SPL
public splAutoloadRegister ( boolean $suppress = true, boolean $fallback = false ) : Autoloader
$suppress boolean
$fallback boolean
return Autoloader
Example #1
0
 public function testFallback()
 {
     $a = new Autoloader();
     $a->splAutoloadRegister(false, true);
     $this->assertInstanceOf('Pop\\Loader\\Autoloader', $a);
 }