Automattic\WooCommerce\Blocks\Domain\Services
GoogleAnalytics::__construct
Constructor.
Method of the class: GoogleAnalytics{}
No Hooks.
Returns
null. Nothing (null).
Usage
$GoogleAnalytics = new GoogleAnalytics(); $GoogleAnalytics->__construct( $asset_api );
- $asset_api(AssetApi) (required)
- Instance of the asset API.
GoogleAnalytics::__construct() GoogleAnalytics:: construct code WC 10.8.1
public function __construct( AssetApi $asset_api ) {
$this->asset_api = $asset_api;
}