argument('source'); RssFetcher::instance()->fetch($sourceId > 0 ? $sourceId : null); } /** * {@inheritDoc} */ protected function getArguments(): array { return [ ['source', InputArgument::OPTIONAL, 'Source ID'], ]; } }