1 | <?php |
||
35 | class CleanUpObserver extends AbstractProductImportObserver |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * Will be invoked by the action on the events the listener has been registered for. |
||
40 | * |
||
41 | * @param array $row The row to handle |
||
42 | * |
||
43 | * @return array The modified row |
||
44 | * @see \TechDivision\Import\Product\Observers\ImportObserverInterface::handle() |
||
45 | */ |
||
46 | public function handle(array $row) |
||
61 | |||
62 | /** |
||
63 | * Add the passed SKU => entity ID mapping. |
||
64 | * |
||
65 | * @param string $sku The SKU |
||
66 | * |
||
67 | * @return void |
||
68 | */ |
||
69 | public function addSkuEntityIdMapping($sku) |
||
73 | |||
74 | /** |
||
75 | * Set's the SKU of the last imported product. |
||
76 | * |
||
77 | * @param string $lastSku The SKU |
||
78 | * |
||
79 | * @return void |
||
80 | */ |
||
81 | public function setLastSku($lastSku) |
||
85 | } |
||
86 |