Backend\Modules\Locale\Engine\CacheBuilder::dumpJsonCache PHP Метод

dumpJsonCache() защищенный Метод

dumps the locale in cache as a json object
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)));
    }