/** * Passes the given options and arguments to Pyrus for execution * * @param InputInterface $input * @param OutputInterface $output */ protected function execute(InputInterface $input, OutputInterface $output) { $tokens = $this->inputDefinition->getTokens($input); array_shift($tokens); // remove pyrus $pyrus = new Pyrus($this->getContainer( )); $pyrus->run($tokens); }
private function installPackage($package, $output) { $pyrus = new Pyrus($this->getContainer( )); $pyrus->run(array('install', $package)); return; }