Retrieves the default registry instance.
public static getInstance ( ) : |
||
return |
/** * Test * * @return void */ public function testSetInstance() { $this->object->unsetInstance(); $this->object->setInstance(new Registry()); $this->assertInstanceOf('Gc\\Registry', Registry::getInstance()); }