Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class GenerateSitemap extends Command |
||
14 | { |
||
15 | protected Sitemap $sitemap; |
||
16 | |||
17 | protected FilesystemInterface $manager; |
||
18 | |||
19 | public function __construct(Sitemap $sitemap, FilesystemInterface $manager) |
||
24 | } |
||
25 | |||
26 | protected function configure(): void |
||
27 | { |
||
28 | $this->setName('sitemap:generate') |
||
29 | ->setDescription('Generates the sitemap') |
||
30 | ->setHelp('This command will generate the sitemap'); |
||
31 | } |
||
32 | |||
33 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
37 | } |
||
38 | } |
||
39 |