Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class GenerateCharsetCommand extends Command |
||
15 | { |
||
16 | public const NAME = 'config:generate-charset'; |
||
17 | |||
18 | 1 | protected function configure(): void |
|
19 | { |
||
20 | $this |
||
21 | 1 | ->setName(self::NAME) |
|
22 | 1 | ->setDescription(sprintf( |
|
23 | 'Generates a character set sample just by shuffling the default one, "%s". ' |
||
24 | 1 | . 'Then it can be set in the SHORTCODE_CHARS environment variable', |
|
25 | 1 | UrlShortener::DEFAULT_CHARS |
|
26 | )); |
||
27 | } |
||
28 | |||
29 | 1 | protected function execute(InputInterface $input, OutputInterface $output): void |
|
33 | } |
||
34 | } |
||
35 |