src/mako/i18n/I18n.php
protected function loadFromCache(string $language, string $file): bool
	{
		$this->strings[$language] = $this->cache->get('mako.i18n.' . $language);

		return $this->strings[$language] !== false && isset($this->strings[$language][$file]);
	}
protected function loadFromCache(string $language, string $file): bool
	{
		$this->strings[$language] = $this->cache->get('mako.i18n.' . $language);

		return $this->strings[$language] !== false && isset($this->strings[$language][$file]);
	}
protected function loadFromCache ( string $ language , string $ file ) : bool { $ this -> strings [ $ language ] = $ this -> cache -> get ( 'mako.i18n.' . $ language ) ; return $ this -> strings [ $ language ] !== false && isset ( $ this -> strings [ $ language ] [ $ file ] ) ; }
Loads language strings from cache.

@param  string $language Name of the language pack
@param  string $file     File from which we are loading the strings
@return bool
Loads language strings from cache .