protected function cleanExport(string $string): string
    {
        $replaces = [
            '\\' => '\\\\',
            '"'  => '\"',
            "\t" => '\t',
        ];

        $string = \str_replace(\array_keys($replaces), \array_values($replaces), $string);
        $po     = '"' . \implode('$' . "\n" . '"' . $this->eol . '"', \explode($this->eol, $string)) . '"';

        // remove empty strings
        return \str_replace($this->eol . '""', '', $po);
    }