Automattic\WooCommerce\Internal\Admin\BlockTemplates

BlockTemplateLogger::get_instance()public staticWC 1.0

Get the singleton instance.

Method of the class: BlockTemplateLogger{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = BlockTemplateLogger::get_instance(): BlockTemplateLogger;

BlockTemplateLogger::get_instance() code WC 9.3.3

public static function get_instance(): BlockTemplateLogger {
	if ( ! self::$instance ) {
		self::$instance = new self();
	}

	return self::$instance;
}