Automattic\WooCommerce\Blocks\Domain\Services

GoogleAnalytics::__construct()publicWC 1.0

Constructor.

Method of the class: GoogleAnalytics{}

No Hooks.

Return

null. Nothing (null).

Usage

$GoogleAnalytics = new GoogleAnalytics();
$GoogleAnalytics->__construct( $asset_api );
$asset_api(AssetApi) (required)
Instance of the asset API.

GoogleAnalytics::__construct() code WC 9.0.1

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