public function __construct(Pool $pool, PluginSettingsCache $cache) { $this->plugins_by_id = $pool; $this->settings_cache = $cache; }