1 | <?php |
||
34 | class HeaderMappingLoader implements LoaderInterface |
||
35 | { |
||
36 | |||
37 | /** |
||
38 | * The array with the available header mappings. |
||
39 | * |
||
40 | * @var array |
||
41 | */ |
||
42 | private $headerMappings; |
||
43 | |||
44 | /** |
||
45 | * Initializes the loader with the configuration instance. |
||
46 | * |
||
47 | * @param array \TechDivision\Import\Configuration\ConfigurationInterface $configuration The array with the values |
||
48 | */ |
||
49 | public function __construct(ConfigurationInterface $configuration) |
||
53 | |||
54 | /** |
||
55 | * Load's and return's the values. |
||
56 | * |
||
57 | * @param string $entityTypeCode The entity type code to return the header mappings for |
||
58 | * |
||
59 | * @return array The array with the values |
||
60 | */ |
||
61 | public function load(string $entityTypeCode = null) : array |
||
65 | } |
||
66 |