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