1 | <?php |
||
8 | class PhpArray extends Generator implements GeneratorInterface |
||
9 | { |
||
10 | use MultidimensionalArrayTrait; |
||
11 | |||
12 | public static $options = [ |
||
13 | 'includeHeaders' => true, |
||
14 | ]; |
||
15 | |||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | public static function toString(Translations $translations, array $options = []) |
||
25 | |||
26 | /** |
||
27 | * Generates an array with the translations. |
||
28 | * |
||
29 | * @param Translations $translations |
||
30 | * @param array $options |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | public static function generate(Translations $translations, array $options = []) |
||
40 | } |
||
41 |