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