WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Assets

AssetDataRegistry::__construct() public WC 1.0

Constructor

{} It's a method of the class: AssetDataRegistry{}

No Hooks.

Return

null. Nothing.

Usage

$AssetDataRegistry = new AssetDataRegistry();
$AssetDataRegistry->__construct( $asset_api );
$asset_api(Api) (required)
Asset API interface for various asset registration.

Code of AssetDataRegistry::__construct() WC 5.7.1

public function __construct( Api $asset_api ) {
	$this->api = $asset_api;
	$this->init();
}