Automattic\WooCommerce\Blocks\Templates

ClassicTemplatesCompatibility::__construct()publicWC 1.0

Constructor.

Method of the class: ClassicTemplatesCompatibility{}

No Hooks.

Return

null. Nothing (null).

Usage

$ClassicTemplatesCompatibility = new ClassicTemplatesCompatibility();
$ClassicTemplatesCompatibility->__construct( $asset_data_registry );
$asset_data_registry(AssetDataRegistry) (required)
Instance of the asset data registry.

ClassicTemplatesCompatibility::__construct() code WC 8.9.0

public function __construct( AssetDataRegistry $asset_data_registry ) {
	$this->asset_data_registry = $asset_data_registry;
	$this->init();
}