AbstractBlock::__construct( AutomatticWooCommerceBlocksAssetsApi $asset_api, AutomatticWooCommerceBlocksAssetsAssetDataRegistry $asset_data_registry, AutomatticWooCommerceBlocksIntegrationsIntegrationRegistry $integration_registry, string $block_name = '' )

Constructor.


Description Description


Parameters Parameters

$asset_api

(Required) Instance of the asset API.

$asset_data_registry

(Required) Instance of the asset data registry.

$integration_registry

(Required) Instance of the integration registry.

$block_name

(Optional) y set block name during construct.

Default value: ''


Top ↑

Source Source

File: packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.