| 1 | <?php |
||
| 7 | class PhpArray extends Generator implements GeneratorInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * {@inheritdoc} |
||
| 11 | */ |
||
| 12 | public static function toString(Translations $translations) |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Generates an array with the translations. |
||
| 21 | * |
||
| 22 | * @param Translations $translations |
||
| 23 | * |
||
| 24 | * @return array |
||
| 25 | */ |
||
| 26 | public static function toArray(Translations $translations) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Generates an array with all translations. |
||
| 38 | * |
||
| 39 | * @param Translations $translations |
||
| 40 | * |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | protected static function buildArray(Translations $translations) |
||
| 62 | } |
||
| 63 |