Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | protected function execute(InputInterface $input, OutputInterface $output) |
||
20 | { |
||
21 | $questionHelper = $this->getQuestionHelper(); |
||
22 | $userManager = $this->getUserManager(); |
||
23 | |||
24 | $user = $this->createUser($input, $output); |
||
25 | |||
26 | $this->printUser($user, $output); |
||
27 | |||
28 | $createQuestion = new ConfirmationQuestion('Create this user? ', false); |
||
29 | if ($questionHelper->ask($input, $output, $createQuestion)) { |
||
30 | $userManager->updateUser($user); |
||
31 | } |
||
32 | } |
||
33 | } |
||
34 |