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