Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | protected function execute(InputInterface $input, OutputInterface $output) |
||
38 | { |
||
39 | $className = $input->getArgument('className'); |
||
40 | $resolvedTo = get_class(Injector::inst()->get($className)); |
||
41 | |||
42 | $output->writeln('<comment>' . $className . '</comment> resolves to <info>' . $resolvedTo . '</info>'); |
||
43 | if ($module = $this->getModuleName($resolvedTo)) { |
||
44 | $output->writeln('<info>Module:</info> <comment>' . $module . '</comment>'); |
||
45 | } |
||
46 | } |
||
47 | } |
||
48 |