public static function factory($self = true) { return new self($self); }
public function testAutoloader() { $a = new Autoloader(); $a->splAutoloadRegister(); $this->assertInstanceOf('Pop\\Loader\\Autoloader', $a); $this->assertInstanceOf('Pop\\Loader\\Autoloader', Autoloader::factory()); }