/** * {@inheritdoc} */ public function all(SettingsOwnerInterface $owner = null) { if (null !== ($cached = $this->fetchFromCache(null, $owner))) { return $cached; } $value = $this->settingsManager->all($owner); $this->storeInCache(null, $value, $owner); return $value; }
/** * Proxy to SettingsManager::all. * * @param SettingsOwnerInterface|null $owner * * @return array */ public function getAllSettings(SettingsOwnerInterface $owner = null) { return $this->settingsManager->all($owner); }