Conditions | 2 |
Paths | 2 |
Total Lines | 23 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function __invoke(InputInterface $input, OutputInterface $output): void |
||
26 | { |
||
27 | $output->writeln('Starting...'); |
||
28 | |||
29 | $process = $this->runProcess(static::COMMAND); |
||
30 | |||
31 | if (!$process->isSuccessful()) { |
||
32 | return; |
||
33 | } |
||
34 | |||
35 | $output->writeln('Started.'); |
||
36 | $output->writeln(''); |
||
37 | $output->writeln(sprintf( |
||
38 | 'To access site please visit: http://%s.localtest.me/', |
||
39 | basename(getcwd()) |
||
40 | )); |
||
41 | $output->writeln(sprintf( |
||
42 | 'To access phpmyadmin please visit: http://phpmyadmin.%s.localtest.me/', |
||
43 | basename(getcwd()) |
||
44 | )); |
||
45 | $output->writeln(sprintf( |
||
46 | 'To access elasticsearch please visit: http://elasticsearch.%s.localtest.me/', |
||
47 | basename(getcwd()) |
||
48 | )); |
||
51 |