Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | protected function execute(InputInterface $input, OutputInterface $output) |
||
20 | { |
||
21 | $user = $this->selectUser($input, $output); |
||
22 | |||
23 | $this->printUser($user, $output); |
||
24 | |||
25 | $saveQuestion = new ConfirmationQuestion('Are you sure you want to delete this user? ', false); |
||
26 | if ($this->getQuestionHelper()->ask($input, $output, $saveQuestion)) { |
||
27 | $this->getUserManager()->deleteUser($user); |
||
28 | } |
||
29 | } |
||
30 | } |
||
31 |