WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks

AssetsController::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of AssetsController::__construct() WC 5.7.1

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