Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | protected function execute(InputInterface $input, OutputInterface $output) |
||
30 | { |
||
31 | try { |
||
32 | parent::execute($input, $output); |
||
33 | } catch (UniqueConstraintViolationException $e) { |
||
34 | $output->writeln(sprintf('<error>User with username %s already exists!</error>', $input->getArgument('username'))); |
||
35 | } |
||
36 | } |
||
37 | } |
||
38 |