protected function clearCache()
    {
        $result = $this->cache->clean([\Magento\Framework\App\Config::CACHE_TAG]);
        $this->logger->debug(
            ' Config cache cleared with result: ' . ($result ? '[OK]' : '[ERROR]')
        );
    }
protected function clearCache()
    {
        $result = $this->cache->clean([\Magento\Framework\App\Config::CACHE_TAG]);
        $this->logger->debug(
            ' Config cache cleared with result: ' . ($result ? '[OK]' : '[ERROR]')
        );
    }
protected function clearCache ( ) { $ result = $ this -> cache -> clean ( [ \ Magento \ Framework \ App \ Config :: CACHE_TAG ] ) ; $ this -> logger -> debug ( ' Config cache cleared with result: ' . ( $ result ? '[OK]' : '[ERROR]' ) ) ; }
Clears config cache after saving altered configuration
Clears config cache after saving altered configuration