private function PoFileDumper::escape in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Dumper/PoFileDumper.php \Symfony\Component\Translation\Dumper\PoFileDumper::escape()
1 call to PoFileDumper::escape()
- PoFileDumper::format in vendor/
symfony/ translation/ Dumper/ PoFileDumper.php - Transforms a domain of a message catalogue to its string representation.
File
- vendor/
symfony/ translation/ Dumper/ PoFileDumper.php, line 57
Class
- PoFileDumper
- PoFileDumper generates a gettext formatted string representation of a message catalogue.
Namespace
Symfony\Component\Translation\DumperCode
private function escape($str) {
return addcslashes($str, "\0..\37\"\\");
}