Automattic\WooCommerce\Blocks
AssetsController::__construct()
Constructor.
Method of the class: AssetsController{}
No Hooks.
Return
null
. Nothing (null).
Usage
$AssetsController = new AssetsController(); $AssetsController->__construct( $asset_api );
- $asset_api(AssetApi) (required)
- Asset API interface for various asset registration.
AssetsController::__construct() AssetsController:: construct code WC 8.7.0
public function __construct( AssetApi $asset_api ) { $this->api = $asset_api; $this->init(); }