| 1 | <?php |
||
| 20 | class Done |
||
| 21 | implements \Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Iface |
||
|
|
|||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Initializes the object |
||
| 25 | * |
||
| 26 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object |
||
| 27 | * @param array $mapping Associative list of field position in CSV as key and domain item key as value |
||
| 28 | * @param \Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Iface $object Decorated processor |
||
| 29 | */ |
||
| 30 | public function __construct( \Aimeos\MShop\Context\Item\Iface $context, array $mapping, |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Saves the coupon code related data to the storage |
||
| 38 | * |
||
| 39 | * @param \Aimeos\MShop\Coupon\Item\Code\Iface $item Coupon code object |
||
| 40 | * @param array $data List of CSV fields with position as key and data as value |
||
| 41 | * @return array List of data which hasn't been imported |
||
| 42 | */ |
||
| 43 | public function process( \Aimeos\MShop\Coupon\Item\Code\Iface $item, array $data ) |
||
| 47 | } |
||
| 48 |