src/Graviton/I18nBundle/Translator/Translator.php
private function removeFromCache($original)
    {
        $cacheKey = $this->getCacheKey($original);
        $cacheContent = $this->cache->fetch($this->getCacheKey($original));
        if (is_array($cacheContent) && isset($cacheContent[$original])) {
            unset($cacheContent[$original]);
            $this->cache->save($cacheKey, $cacheContent);
        }
    }
private function removeFromCache($original)
    {
        $cacheKey = $this->getCacheKey($original);
        $cacheContent = $this->cache->fetch($this->getCacheKey($original));
        if (is_array($cacheContent) && isset($cacheContent[$original])) {
            unset($cacheContent[$original]);
            $this->cache->save($cacheKey, $cacheContent);
        }
    }
private function removeFromCache ( $ original ) { $ cacheKey = $ this -> getCacheKey ( $ original ) ; $ cacheContent = $ this -> cache -> fetch ( $ this -> getCacheKey ( $ original ) ) ; if ( is_array ( $ cacheContent ) && isset ( $ cacheContent [ $ original ] ) ) { unset ( $ cacheContent [ $ original ] ) ; $ this -> cache -> save ( $ cacheKey , $ cacheContent ) ; } }
removes entry from cache

@param string $original original string

@return void
removes entry from cache