Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
CLI
/
Migrator
/
Interfaces
/
File Content:
PlatformMapperInterface.php
<?php declare( strict_types=1 ); namespace Automattic\WooCommerce\Internal\CLI\Migrator\Interfaces; /** * Defines the contract for classes responsible for transforming * raw platform data into a standardized format suitable for the WooCommerce Importer. */ interface PlatformMapperInterface { /** * Maps raw platform product data to a standardized array format. * * @param object $platform_data The raw product data object from the source platform (e.g., Shopify product node). * * @return array A standardized array representing the product, understandable by the WooCommerce_Product_Importer. * The specific structure of this array needs to be defined and adhered to. */ public function map_product_data( object $platform_data ): array; }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
PlatformFetcherInterface.php
1316 bytes
0644
PlatformMapperInterface.php
778 bytes
0644
N4ST4R_ID | Naxtarrr