N98\Magento\Command\Developer\Theme\ListCommand::execute PHP Метод

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

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат integer | void
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->detectMagento($output);
        if (!$this->initMagento()) {
            return;
        }
        $packages = $this->getThemes();
        $table = array();
        foreach ($packages as $package => $themes) {
            foreach ($themes as $theme) {
                $table[] = array(($package ? $package . '/' : '') . $theme);
            }
        }
        $this->getHelper('table')->setHeaders(array('Theme'))->renderByFormat($output, $table, $input->getOption('format'));
    }