getInstance() public static method

public static getInstance ( )
Ejemplo n.º 1
0
 public function testDestroy()
 {
     $instance1 = Registry::getInstance();
     Registry::destroy();
     $instance2 = Registry::getInstance();
     $this->assertNotSame($instance1, $instance2);
 }