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