| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 31 | { |
||
| 32 | $pages = $this->getContainer()->get('zicht_page.page_manager')->getBaseRepository()->findAll(); |
||
| 33 | $urlProvider = $this->getContainer()->get('zicht_url.provider'); |
||
| 34 | |||
| 35 | $baseUrl = rtrim($input->getOption('base-url'), '/'); |
||
| 36 | |||
| 37 | foreach ($pages as $page) { |
||
| 38 | $output->writeln($baseUrl . $urlProvider->url($page)); |
||
| 39 | } |
||
| 42 |