/** * * @param boolean $isTestConfig * @return Config */ public static function getInstance($isTestConfig = false) { self::$isTestConfig = $isTestConfig; if (!self::$theInstance) { self::$theInstance = new Config(); } return self::$theInstance; }