1 | <?php |
||
20 | class ScanExecutor |
||
21 | { |
||
22 | /** |
||
23 | * @var CommandExecutor |
||
24 | */ |
||
25 | protected $command; |
||
26 | |||
27 | /** |
||
28 | * @var Filesystem |
||
29 | */ |
||
30 | protected $fs; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $output = ''; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $progress = ''; |
||
41 | |||
42 | /** |
||
43 | * @param CommandExecutor $command |
||
44 | * @param Filesystem $fs |
||
45 | * @param string $output |
||
46 | * @param string $progress |
||
47 | */ |
||
48 | 1 | public function __construct(CommandExecutor $command, Filesystem $fs, $output, $progress) |
|
55 | |||
56 | /** |
||
57 | * Scan storage in background and export progress and output. |
||
58 | * |
||
59 | * @param StorageEntity $storage |
||
60 | */ |
||
61 | 1 | public function export(StorageEntity $storage) |
|
75 | } |
||
76 |