Automattic\WooCommerce\Blocks\Domain\Services
Hydration::__construct()
Constructor.
Method of the class: Hydration{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Hydration = new Hydration(); $Hydration->__construct( $asset_data_registry );
- $asset_data_registry(AssetDataRegistry) (required)
- Instance of the asset data registry.
Hydration::__construct() Hydration:: construct code WC 9.2.3
public function __construct( AssetDataRegistry $asset_data_registry ) { $this->asset_data_registry = $asset_data_registry; }