@@ 92-95 (lines=4) @@ | ||
89 | ||
90 | // Firstname |
|
91 | $firstname = $input->getArgument('firstname'); |
|
92 | if ($firstname === null) { |
|
93 | $question = new Question('<question>Firstname:</question> '); |
|
94 | $firstname = $questionHelper->ask($input, $output, $question); |
|
95 | } |
|
96 | ||
97 | // Lastname |
|
98 | $lastname = $input->getArgument('lastname'); |
|
@@ 99-102 (lines=4) @@ | ||
96 | ||
97 | // Lastname |
|
98 | $lastname = $input->getArgument('lastname'); |
|
99 | if ($lastname === null) { |
|
100 | $question = new Question('<question>Lastname:</question> '); |
|
101 | $lastname = $questionHelper->ask($input, $output, $question); |
|
102 | } |
|
103 | ||
104 | $website = $this->getHelperSet()->get('parameter')->askWebsite($input, $output); |
|
105 |