1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?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; } }
|