src/Extractors/JsCode.php 1 location
|
@@ 67-73 (lines=7) @@
|
| 64 |
|
* @inheritDoc |
| 65 |
|
* @throws Exception |
| 66 |
|
*/ |
| 67 |
|
public static function fromFileMultiple($file, array $translations, array $options = []) |
| 68 |
|
{ |
| 69 |
|
foreach (static::getFiles($file) as $file) { |
| 70 |
|
$options['file'] = $file; |
| 71 |
|
static::fromStringMultiple(static::readFile($file), $translations, $options); |
| 72 |
|
} |
| 73 |
|
} |
| 74 |
|
} |
| 75 |
|
|
src/Extractors/PhpCode.php 1 location
|
@@ 77-83 (lines=7) @@
|
| 74 |
|
/** |
| 75 |
|
* @inheritDoc |
| 76 |
|
*/ |
| 77 |
|
public static function fromFileMultiple($file, array $translations, array $options = []) |
| 78 |
|
{ |
| 79 |
|
foreach (static::getFiles($file) as $file) { |
| 80 |
|
$options['file'] = $file; |
| 81 |
|
static::fromStringMultiple(static::readFile($file), $translations, $options); |
| 82 |
|
} |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
|
| 86 |
|
/** |
src/Extractors/VueJs.php 1 location
|
@@ 50-56 (lines=7) @@
|
| 47 |
|
* @inheritDoc |
| 48 |
|
* @throws Exception |
| 49 |
|
*/ |
| 50 |
|
public static function fromFileMultiple($file, array $translations, array $options = []) |
| 51 |
|
{ |
| 52 |
|
foreach (static::getFiles($file) as $file) { |
| 53 |
|
$options['file'] = $file; |
| 54 |
|
static::fromStringMultiple(static::readFile($file), $translations, $options); |
| 55 |
|
} |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* @inheritdoc |