Total Complexity | 7 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class TxtExtractor extends Extractor |
||
11 | { |
||
12 | protected string $column; |
||
13 | |||
14 | protected array $availableOptions = [ "column" ]; |
||
15 | |||
16 | public function __construct () |
||
17 | { |
||
18 | $this->column = ""; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @return string |
||
23 | */ |
||
24 | public function getColumn () : string |
||
25 | { |
||
26 | return $this->column; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param string $column |
||
31 | */ |
||
32 | public function setColumn ( string $column ) : void |
||
33 | { |
||
34 | $this->column = $column; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return array |
||
39 | * @throws SourceWatcherException |
||
40 | */ |
||
41 | public function extract () : array |
||
64 | } |
||
65 | } |
||
66 |