Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class FileInput extends Input |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private string $fileLocation; |
||
15 | |||
16 | /** |
||
17 | * FileInput constructor. |
||
18 | * @param string $fileLocation |
||
19 | */ |
||
20 | public function __construct ( string $fileLocation ) |
||
21 | { |
||
22 | $this->fileLocation = $fileLocation; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getInput () |
||
29 | { |
||
30 | return $this->fileLocation; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param string $input |
||
35 | */ |
||
36 | public function setInput ( $input ) |
||
39 | } |
||
40 | } |
||
41 |