| @@ 161-173 (lines=13) @@ | ||
| 158 | * @param array $options |
|
| 159 | * @param OutputInterface $output |
|
| 160 | */ |
|
| 161 | protected function showCredentials(array $options, OutputInterface $output) |
|
| 162 | { |
|
| 163 | $output->writeln('<info>SUCCESS: Magestead has finished installing Magento!</info>'); |
|
| 164 | $table = new Table($output); |
|
| 165 | $table |
|
| 166 | ->setHeaders(['Username', 'Password', 'Base URL']) |
|
| 167 | ->setRows([ |
|
| 168 | ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url']], |
|
| 169 | ]); |
|
| 170 | $table->render(); |
|
| 171 | ||
| 172 | HostsPluginChecker::verify($options, $output); |
|
| 173 | } |
|
| 174 | ||
| 175 | /** |
|
| 176 | * @param array $options |
|
| @@ 232-244 (lines=13) @@ | ||
| 229 | * @param array $options |
|
| 230 | * @param OutputInterface $output |
|
| 231 | */ |
|
| 232 | protected function showCredentials(array $options, OutputInterface $output) |
|
| 233 | { |
|
| 234 | $output->writeln('<info>SUCCESS: Magestead has finished installing Magento 2!</info>'); |
|
| 235 | $table = new Table($output); |
|
| 236 | $table |
|
| 237 | ->setHeaders(['Username', 'Password', 'Base URL', 'Admin URI']) |
|
| 238 | ->setRows([ |
|
| 239 | ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url'], 'admin'], |
|
| 240 | ]); |
|
| 241 | $table->render(); |
|
| 242 | ||
| 243 | HostsPluginChecker::verify($options, $output); |
|
| 244 | } |
|
| 245 | ||
| 246 | /** |
|
| 247 | * @param array $options |
|