src/Graviton/I18nBundle/Translator/Translator.php
private function getCacheKey($original)
    {
        return sprintf(
            'translator_%s_%s',
            implode('.', $this->getLanguages()),
            str_pad(strtolower(substr($original, 0, $this->cacheNameDepth)), $this->cacheNameDepth, '.')
        );
    }
private function getCacheKey($original)
    {
        return sprintf(
            'translator_%s_%s',
            implode('.', $this->getLanguages()),
            str_pad(strtolower(substr($original, 0, $this->cacheNameDepth)), $this->cacheNameDepth, '.')
        );
    }
private function getCacheKey ( $ original ) { return sprintf ( 'translator_%s_%s' , implode ( '.' , $ this -> getLanguages ( ) ) , str_pad ( strtolower ( substr ( $ original , 0 , $ this -> cacheNameDepth ) ) , $ this -> cacheNameDepth , '.' ) ) ; }
returns the caching key

@param string $original original string

@return string cache key
returns the caching key