N98\Magento\Command\System\Cron\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, true);
        if ($input->getOption('format') === null) {
            $this->writeSection($output, 'Cronjob List');
        }
        $this->initMagento();
        $table = $this->getJobs();
        /** @var $tableHelper TableHelper */
        $tableHelper = $this->getHelper('table');
        $tableHelper->setHeaders(array_keys(current($table)))->renderByFormat($output, $table, $input->getOption('format'));
    }