1 | <?php |
||
6 | class DummyTransformer implements TransformerInterface |
||
7 | { |
||
8 | /** |
||
9 | * The transformer accepts a FieldCollection (a row) and returns it back with |
||
10 | * arbitrary changes to it. |
||
11 | * |
||
12 | * Miscellaneous parameters can be passed through the $parameters array |
||
13 | * |
||
14 | * @param array $record |
||
15 | * @param DataSourceInterface $dataSource |
||
16 | * |
||
17 | * @return array |
||
18 | * |
||
19 | */ |
||
20 | public function transform(array $record, DataSourceInterface $dataSource) |
||
24 | |||
25 | public function getRequiredFieldNames() |
||
29 | } |
||
30 |