| 1 |
<?php |
| 2 |
|
| 3 |
namespace Gettext\Extractors; |
| 4 |
|
| 5 |
use Gettext\Translations; |
| 6 |
|
| 7 |
interface ExtractorMultiInterface |
| 8 |
{ |
| 9 |
/** |
| 10 |
* Parses a string and append the translations found in the Translations instance. |
| 11 |
* Allows scanning for multiple domains at a time (each Translation has to have a different domain) |
| 12 |
* |
| 13 |
* @param string $string |
| 14 |
* @param Translations[] $translations |
| 15 |
* @param array $options |
| 16 |
*/ |
| 17 |
public static function fromStringMultiple($string, array $translations, array $options = []); |
| 18 |
|
| 19 |
/** |
| 20 |
* Parses a string and append the translations found in the Translations instance. |
| 21 |
* Allows scanning for multiple domains at a time (each Translation has to have a different domain) |
| 22 |
* |
| 23 |
* @param $file |
| 24 |
* @param Translations[] $translations |
| 25 |
* @param array $options |
| 26 |
*/ |
| 27 |
public static function fromFileMultiple($file, array $translations, array $options = []); |
| 28 |
} |
| 29 |
|