Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | protected function execute(InputInterface $input, OutputInterface $output) |
||
32 | { |
||
33 | // Configure the install. |
||
34 | $name = $input->getArgument('project-name'); |
||
35 | $configure = $this->getApplication()->find('configure'); |
||
36 | $configure->run(new ArrayInput(['project-name' => $name]), $output); |
||
37 | |||
38 | // Go into the newly configured install. |
||
39 | chdir($name); |
||
40 | $output->writeln(''); |
||
41 | |||
42 | $install = $this->getApplication()->find('install'); |
||
43 | $install->run(new ArrayInput([]), $output); |
||
44 | } |
||
45 | } |
||
46 |