Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function __invoke(InputInterface $input, OutputInterface $output) |
||
20 | { |
||
21 | $this->container->resolve(AddMageInit::class)->handle( |
||
22 | $this->container->get('app_dir') . '/app/code/' . $input->getOption('template'), |
||
23 | [ |
||
24 | 'name' => $input->getArgument('script-name'), |
||
25 | 'bind' => '*' |
||
26 | ] |
||
27 | ); |
||
28 | |||
29 | $output->writeln('<info>mage init was added</info>'); |
||
30 | } |
||
32 |