Documentation

ProductMapper extends Mapper
in package

Table of Contents

Methods

getFormattedProduct()  : array<string|int, mixed>
Formats concatenated CountryVatTypes and SKU to array, typecasts strictly numeric fields to integers
mapper()  : mixed

Methods

getFormattedProduct()

Formats concatenated CountryVatTypes and SKU to array, typecasts strictly numeric fields to integers

public static getFormattedProduct(array<string|int, mixed> $product) : array<string|int, mixed>
Parameters
$product : array<string|int, mixed>
Return values
array<string|int, mixed>

mapper()

public static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
$map : array<string|int, mixed>
$original : array<string|int, mixed>
$reverse : bool = true

        
On this page

Search results