original_string: public function getAllSystemSettings()
      {
          $cacheId = CacheId::languageAware('AllSystemSettings');
          $cache = PiwikCache::getTransientCache();
  
          if (!$cache->contains($cacheId)) {
              $pluginNames = $this->pluginManager->getActivatedPlugins();
              $byPluginName = array();
  
              foreach ($pluginNames as $plugin) {
                  $component = $this->getSystemSettings($plugin);
  
                  if (!empty($component)) {
                      $byPluginName[$plugin] = $component;
                  }
              }
  
              $cache->save($cacheId, $byPluginName);
          }
  
          return $cache->fetch($cacheId);
      }
code: public function getAllSystemSettings()
      {
          $cacheId = CacheId::languageAware('AllSystemSettings');
          $cache = PiwikCache::getTransientCache();
  
          if (!$cache->contains($cacheId)) {
              $pluginNames = $this->pluginManager->getActivatedPlugins();
              $byPluginName = array();
  
              foreach ($pluginNames as $plugin) {
                  $component = $this->getSystemSettings($plugin);
  
                  if (!empty($component)) {
                      $byPluginName[$plugin] = $component;
                  }
              }
  
              $cache->save($cacheId, $byPluginName);
          }
  
          return $cache->fetch($cacheId);
      }
code_tokens: public function getAllSystemSettings ( ) { $ cacheId = CacheId :: languageAware ( 'AllSystemSettings' ) ; $ cache = PiwikCache :: getTransientCache ( ) ; if ( ! $ cache -> contains ( $ cacheId ) ) { $ pluginNames = $ this -> pluginManager -> getActivatedPlugins ( ) ; $ byPluginName = array ( ) ; foreach ( $ pluginNames as $ plugin ) { $ component = $ this -> getSystemSettings ( $ plugin ) ; if ( ! empty ( $ component ) ) { $ byPluginName [ $ plugin ] = $ component ; } } $ cache -> save ( $ cacheId , $ byPluginName ) ; } return $ cache -> fetch ( $ cacheId ) ; }
docstring: Returns all available system settings. A plugin has to specify a file named `SystemSettings.php` containing a
  class named `SystemSettings` that extends `Piwik\Settings\Plugin\SystemSettings` in order to be considered as
  a system setting. Otherwise the settings for a plugin won't be available.
  
  @return SystemSettings[]   An array containing array([pluginName] => [setting instance]).
docstring_tokens: Returns all available system settings . A plugin has to specify a file named SystemSettings . php containing a class named SystemSettings that extends Piwik \ Settings \ Plugin \ SystemSettings in order to be considered as a system setting . Otherwise the settings for a plugin won t be available .