src/LazyStrings.php
private function backup(array $strings, $path, $filename)
    {
        $stringsFile = $path . '/' . $filename;
        $jsonStrings = json_encode($strings, JSON_PRETTY_PRINT);

        $this->createDirectory($path);

        file_put_contents($stringsFile, $jsonStrings);
    }
private function backup(array $strings, $path, $filename)
    {
        $stringsFile = $path . '/' . $filename;
        $jsonStrings = json_encode($strings, JSON_PRETTY_PRINT);

        $this->createDirectory($path);

        file_put_contents($stringsFile, $jsonStrings);
    }
Save backup strings in JSON format

@param array $strings
@param string $path
@param string $filename

@return void