We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a8b4f commit c3d0739Copy full SHA for c3d0739
src/Extractors/Blade.php
@@ -16,7 +16,8 @@ class Blade extends Extractor implements ExtractorInterface
16
*/
17
public static function fromString($string, Translations $translations, array $options = [])
18
{
19
- $bladeCompiler = new BladeCompiler(new Filesystem(), null);
+ $cachePath = empty($options['cachePath']) ? sys_get_temp_dir() : $options['cachePath'];
20
+ $bladeCompiler = new BladeCompiler(new Filesystem(), $cachePath);
21
$string = $bladeCompiler->compileString($string);
22
23
PhpCode::fromString($string, $translations, $options);
0 commit comments