Skip to content

Commit b65b17b

Browse files
committedJun 8, 2015
Adding default Blade attributes to our DbBladeCompiler, especially for extentions
1 parent aa08cd8 commit b65b17b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

Diff for: ‎src/Flynsarmy/DbBladeCompiler/DbBladeCompiler.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ class DbBladeCompiler extends BladeCompiler implements CompilerInterface
1212
public function __construct($filesystem, $cache_path, $config)
1313
{
1414
parent::__construct($filesystem, $cache_path);
15-
$this->config = $config;
15+
$this->rawTags = Blade::getRawTags();
16+
$this->contentTags = Blade::getContentTags();
17+
$this->escapedTags = Blade::getEscapedContentTags();
18+
$this->extensions = Blade::getExtensions();
19+
$this->config = $config;
1620
}
1721

1822
/**

0 commit comments

Comments
 (0)
Please sign in to comment.