Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | protected function execute(InputInterface $input, OutputInterface $output) |
||
45 | { |
||
46 | $this->setGithubToken($output); |
||
47 | |||
48 | $name = $input->getArgument('package'); |
||
49 | |||
50 | $packageNameVersion = PackageNameVersionExtractor::fromString($name); |
||
51 | |||
52 | $bowerphp = $this->getBowerphp($output); |
||
53 | |||
54 | $package = $bowerphp->lookupPackage($packageNameVersion->name); |
||
55 | |||
56 | $this->consoleOutput->writelnSearchOrLookup($package['name'], $package['url']); |
||
57 | } |
||
58 | } |
||
59 |