protected dumpJsonCache ( string $language, string $application ) | ||
$language | string | |
$application | string |
protected function dumpJsonCache($language, $application)
{
$filesystem = new Filesystem();
$filesystem->dumpFile(constant(mb_strtoupper($application) . '_CACHE_PATH') . '/Locale/' . $language . '.json', json_encode($this->buildJsonCache($language, $application)));
}