Automattic\WooCommerce\Blocks

AssetsController::__constructpublicWC 1.0

Constructor.

Method of the class: AssetsController{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

AssetsController::__construct() code WC 9.9.4

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