src/Service/SettingsProvider.php
public function getSettings($namespace)
    {
        if ($this->getCacheOptions()->isEnabled()) {
            if ($this->cacheManager->settingsExists($namespace)) {
                return $this->cacheManager->get($namespace);
            }
            $settings = $this->getSettingsFromRealSource($namespace);
            $this->cacheManager->create($namespace, $settings);

            return $settings;
        }

        return $this->getSettingsFromRealSource($namespace);
    }
public function getSettings($namespace)
    {
        if ($this->getCacheOptions()->isEnabled()) {
            if ($this->cacheManager->settingsExists($namespace)) {
                return $this->cacheManager->get($namespace);
            }
            $settings = $this->getSettingsFromRealSource($namespace);
            $this->cacheManager->create($namespace, $settings);

            return $settings;
        }

        return $this->getSettingsFromRealSource($namespace);
    }
public function getSettings ( $ namespace ) { if ( $ this -> getCacheOptions ( ) -> isEnabled ( ) ) { if ( $ this -> cacheManager -> settingsExists ( $ namespace ) ) { return $ this -> cacheManager -> get ( $ namespace ) ; } $ settings = $ this -> getSettingsFromRealSource ( $ namespace ) ; $ this -> cacheManager -> create ( $ namespace , $ settings ) ; return $ settings ; } return $ this -> getSettingsFromRealSource ( $ namespace ) ; }
{@inheritDoc}
{