public static function getFactory()
    {
        if (self::$nb_provider_factory === null) {
            self::$nb_provider_factory = new CNabuProviderFactory();
            self::$nb_provider_factory->init();
        }

        return self::$nb_provider_factory;
    }
public static function getFactory()
    {
        if (self::$nb_provider_factory === null) {
            self::$nb_provider_factory = new CNabuProviderFactory();
            self::$nb_provider_factory->init();
        }

        return self::$nb_provider_factory;
    }
public static function getFactory ( ) { if ( self :: $ nb_provider_factory === null ) { self :: $ nb_provider_factory = new CNabuProviderFactory ( ) ; self :: $ nb_provider_factory -> init ( ) ; } return self :: $ nb_provider_factory ; }
If singleton instance does not exists then instantiate it.
@return CNabuProviderFactory Returns singleton instance
@throws ENabuSingletonException
If singleton instance does not exists then instantiate it .