Total Complexity | 6 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class Standard implements Iface |
||
21 | { |
||
22 | /** |
||
23 | * Returns the mapped array |
||
24 | * |
||
25 | * @param iterable $cfgkey List of arrays of object that should be mapped |
||
26 | * @param array $key Name of the property whose value should be the key of the mapped pairs |
||
27 | * @param string $prop Property name that should be mapped to the key |
||
28 | * @return \Aimeos\MW\MapIface Associative list of key/value pairs |
||
29 | */ |
||
30 | public function transform( iterable $list, string $key, string $prop ) : \Aimeos\MW\MapIface |
||
48 |