| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class Done |
||
| 21 | implements \Aimeos\Controller\Jobs\Common\Customer\Import\Csv\Processor\Iface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Initializes the object |
||
| 25 | * |
||
| 26 | * @param \Aimeos\MShop\ContextIface $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\Jobs\Common\Customer\Import\Csv\Processor\Iface $processor Decorated processor |
||
| 29 | */ |
||
| 30 | public function __construct( \Aimeos\MShop\ContextIface $context, array $mapping, |
||
| 31 | ?\Aimeos\Controller\Jobs\Common\Customer\Import\Csv\Processor\Iface $processor = null ) |
||
| 32 | { |
||
| 33 | } |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Stores all types for which no type items exist yet |
||
| 38 | */ |
||
| 39 | public function finish() |
||
| 41 | } |
||
| 42 | |||
| 43 | |||
| 44 | /** |
||
| 45 | * Saves the customer related data to the storage |
||
| 46 | * |
||
| 47 | * @param \Aimeos\MShop\Customer\Item\Iface $item Customer item with associated items |
||
| 48 | * @param array $data List of CSV fields with position as key and data as value |
||
| 49 | * @return array List of data which hasn't been imported |
||
| 50 | */ |
||
| 51 | public function process( \Aimeos\MShop\Customer\Item\Iface $item, array $data ) |
||
| 54 | } |
||
| 55 | } |
||
| 56 |