Removed inst(), its duplicating Injector functionality

This commit is contained in:
Ingo Schommer 2014-03-01 11:06:48 +13:00
parent 8eaeeb39d1
commit 2f85acdd18

View File

@ -38,18 +38,6 @@ class TestSessionEnvironment extends Object {
*/
private static $test_state_file;
/**
* @var TestSessionEnvironment A singleton of this TestSessionEnvironment, for use with ::inst()
*/
private static $instance = null;
public static function inst() {
if (!self::$instance) {
self::$instance = new TestSessionEnvironment();
}
return self::$instance;
}
/**
* Tests for the existence of the file specified by $this->test_state_file
*/