N98\Magento\Command\MagentoConnect\ValidateExtensionCommand::execute PHP Метод

execute() защищенный Метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->_init($output);
        $packages = array($input->getArgument('package'));
        if ($packages == array(null)) {
            $packages = $this->_getInstalledPackages();
        }
        $to_skip = array();
        if (!$input->getOption('include-default')) {
            $to_skip = $this->_getBasePackages();
        }
        foreach ($packages as $package) {
            if (in_array($package, $to_skip)) {
                continue;
            }
            $output->writeln(array($package, '--------------------------------------------------', '', ''));
            $this->_validateSpecificPackage($package, $output, $input);
        }
        $output->writeln('');
    }