Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | protected function executeAsync(InputInterface $input, SocketOutput $output) |
||
27 | { |
||
28 | $path = $input->getArgument("path"); |
||
29 | |||
30 | $projectRepository = $this->getContainer()->get(ProjectRepository::class); |
||
31 | $project = $projectRepository->findByPath($path); |
||
32 | $generator = $this->getContainer()->get(IndexGenerator::class); |
||
33 | |||
34 | $generator->generateProjectIndex($project, false); |
||
35 | $persister = $this->getContainer()->get(Persister::class); |
||
36 | |||
37 | yield $output->disconnect(); |
||
38 | yield $persister->save($project); |
||
39 | } |
||
40 | } |
||
41 |