public static function getInstance()
    {
        if (!isset(self::$config)) {
            throw new \Tripod\Exceptions\ConfigException("Call Config::setConfig() first");
        }
        if (!isset(self::$instance)) {
            self::$instance = TripodConfigFactory::create(self::$config);
        }
        return self::$instance;
    }
public static function getInstance()
    {
        if (!isset(self::$config)) {
            throw new \Tripod\Exceptions\ConfigException("Call Config::setConfig() first");
        }
        if (!isset(self::$instance)) {
            self::$instance = TripodConfigFactory::create(self::$config);
        }
        return self::$instance;
    }
public static function getInstance ( ) { if ( ! isset ( self :: $ config ) ) { throw new \ Tripod \ Exceptions \ ConfigException ( "Call Config::setConfig() first" ) ; } if ( ! isset ( self :: $ instance ) ) { self :: $ instance = TripodConfigFactory :: create ( self :: $ config ) ; } return self :: $ instance ; }
Since this is a singleton class, use this method to create a new config instance.
@uses Config::setConfig() Configuration must be set prior to calling this method. To generate a completely new object, set a new config
@codeCoverageIgnore
@throws \Tripod\Exceptions\ConfigException
@return ITripodConfig
Since this is a singleton class use this method to create a new config instance .