protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) { $this->getApplication()->getKernel()->getContainer()->getService('image.update_storage')->updateStorage(); }