| 1 | <?php |
||
| 12 | class PhpArray extends Extractor implements ExtractorInterface |
||
| 13 | { |
||
| 14 | use MultidimensionalArrayTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritdoc} |
||
| 18 | */ |
||
| 19 | public static function fromFile($file, Translations $translations, array $options = []) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public static function fromString($string, Translations $translations, array $options = []) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Handle an array of translations and append to the Translations instance. |
||
| 36 | * |
||
| 37 | * @param array $content |
||
| 38 | * @param Translations $translations |
||
| 39 | */ |
||
| 40 | public static function extract(array $content, Translations $translations) |
||
| 52 | } |
||
| 53 |