Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class CustomJsonParseSpec implements ParseSpecInterface |
||
10 | { |
||
11 | /** |
||
12 | * Specify the parse specification to be a json file. |
||
13 | * |
||
14 | * @param string $keyFieldName The field name of the key |
||
15 | * @param string $valueFieldName The field name of the value |
||
16 | */ |
||
17 | 1 | public function __construct( |
|
21 | |||
22 | 1 | } |
|
23 | |||
24 | /** |
||
25 | * @return array<string,string> |
||
26 | */ |
||
27 | 1 | public function toArray(): array |
|
35 | } |