protectedfunctionexecute(InputInterface $input, OutputInterface $output) { $shopwareVersion = $this->container->getParameter('shopware.release.version'); if(!\is_string($shopwareVersion)){ thrownewRuntimeException('Parameter shopware.release.version has to be an string'); }
/**
* {@inheritdoc}
*/ publicfunctionlistTopics(){ // Map the top level help topic plugins to a list of topic links.
returnarray_map(function DHelpTopicPluginInterface $topic){ return$topic->toLink(); }, $this->getPlugins()); }
/**
* Gets the top level help topic plugins.
*
* @return \Drupal\help_topics\HelpTopicPluginInterface[]
* The top level help topic plugins.
*/ protectedfunctiongetPlugins(){ if(!isset($this->topLevelPlugins)){ $definitions = $this->pluginManager->getDefinitions();