Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
gettext
/
gettext
/
src
/
Generators
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Generator.php
<?php namespace Gettext\Generators; use Gettext\Translations; abstract class Generator implements GeneratorInterface { /** * {@inheritdoc} */ public static function toFile(Translations $translations, $file, array $options = []) { $content = static::toString($translations, $options); if (file_put_contents($file, $content) === false) { return false; } return true; } }
Save
Cancel