packages/kirki-framework/core/src/Config.php
public static function get_instance( $id = 'global', $args = [] ) {
		if ( empty( $id ) ) {
			$id = 'global';
		}
		$id_md5 = md5( $id );
		if ( ! isset( self::$instances[ $id_md5 ] ) ) {
			self::$instances[ $id_md5 ] = new self( $id, $args );
		}
		return self::$instances[ $id_md5 ];
	}
public static function get_instance( $id = 'global', $args = [] ) {
		if ( empty( $id ) ) {
			$id = 'global';
		}
		$id_md5 = md5( $id );
		if ( ! isset( self::$instances[ $id_md5 ] ) ) {
			self::$instances[ $id_md5 ] = new self( $id, $args );
		}
		return self::$instances[ $id_md5 ];
	}
public static function get_instance ( $ id = 'global' , $ args = [ ] ) { if ( empty ( $ id ) ) { $ id = 'global' ; } $ id_md5 = md5 ( $ id ) ; if ( ! isset ( self :: $ instances [ $ id_md5 ] ) ) { self :: $ instances [ $ id_md5 ] = new self ( $ id , $ args ) ; } return self :: $ instances [ $ id_md5 ] ; }
Use this method to get an instance of your config.
Each config has its own instance of this object.

@static
@access public
@param string $id     Config ID.
@param array  $args   {
Optional. Arguments to override config defaults.

@type string      $capability       @see https://codex.wordpress.org/Roles_and_Capabilities
@type string      $option_type      theme_mod or option.
@type string      $option_name      If we want to used serialized options,
this is where we'll be adding the option name.
All fields using this config will be items in that array.
@type array       $compiler         Not yet fully implemented
@type bool        $disable_output   If set to true, no CSS will be generated
from fields using this configuration.
}

@return Kirki\Core\Config
Use this method to get an instance of your config . Each config has its own instance of this object .