1 | <?php |
||
12 | class Syncer |
||
13 | { |
||
14 | /** |
||
15 | * @var SyncerFs |
||
16 | */ |
||
17 | private $syncerFs; |
||
18 | |||
19 | /** |
||
20 | * @var SyncerDb | null |
||
21 | */ |
||
22 | private $syncerDb; |
||
23 | |||
24 | /** |
||
25 | * @var EventDispatcherInterface |
||
26 | */ |
||
27 | private $eventDispatcher; |
||
28 | |||
29 | /** |
||
30 | * @param EventDispatcherInterface $eventDispatcher |
||
31 | * @param SyncerFs $syncerFs |
||
32 | * @param null|SyncerDb $syncerDb |
||
33 | */ |
||
34 | 4 | public function __construct( |
|
43 | |||
44 | /** |
||
45 | * @param OutputInterface $output |
||
46 | */ |
||
47 | 1 | public function sync(OutputInterface $output) |
|
54 | |||
55 | /** |
||
56 | * @param OutputInterface $output |
||
57 | */ |
||
58 | 2 | public function syncFs(OutputInterface $output) |
|
64 | |||
65 | /** |
||
66 | * @param OutputInterface $output |
||
67 | * |
||
68 | * @throws \Exception |
||
69 | */ |
||
70 | 3 | public function syncDb(OutputInterface $output) |
|
80 | } |
||
81 |