Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | public function getArrayRepresentation () : array |
||
52 | { |
||
53 | $result = parent::getArrayRepresentation(); |
||
54 | |||
55 | if ( $this instanceof CsvExtractor || $this instanceof JsonExtractor ) { |
||
56 | $fileInput = $this->getInput(); |
||
57 | |||
58 | $result["input"] = [ "class" => get_class( $fileInput ), "location" => $fileInput->getInput() ]; |
||
59 | } |
||
60 | |||
61 | return $result; |
||
62 | } |
||
64 |