private function getFromCache($key, array $replace = array(), $locale = null, $fallback = true)
    {
        if (false === strpos($key, 'squanto::')) {
            $key = 'squanto::'.$key;
        }

        $result = parent::get($key, $replace, $locale, $fallback);

        return ($result !== $key) ? $result : null;
    }
private function getFromCache($key, array $replace = array(), $locale = null, $fallback = true)
    {
        if (false === strpos($key, 'squanto::')) {
            $key = 'squanto::'.$key;
        }

        $result = parent::get($key, $replace, $locale, $fallback);

        return ($result !== $key) ? $result : null;
    }
private function getFromCache ( $ key , array $ replace = array ( ) , $ locale = null , $ fallback = true ) { if ( false === strpos ( $ key , 'squanto::' ) ) { $ key = 'squanto::' . $ key ; } $ result = parent :: get ( $ key , $ replace , $ locale , $ fallback ) ; return ( $ result !== $ key ) ? $ result : null ; }
Retrieve the translation from the squanto cache.

@param $key
@param array $replace
@param null $locale
@return mixed|null
Retrieve the translation from the squanto cache .