PartKeepr\TipOfTheDayBundle\Command\SyncTipsCommand::execute PHP Method

execute() protected method

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->getContainer()->get('partkeepr.tip_of_the_day_service')->syncTips();
        $this->getContainer()->get('partkeepr.cronlogger_service')->markCronRun('partkeepr:cron:synctips');
    }
SyncTipsCommand