File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -866,6 +866,11 @@ public function disableStyleInclude(): Compiler
866
866
return $ this ;
867
867
}
868
868
869
+ public function setStyleBlockOutputType (int $ outputType ): void
870
+ {
871
+ $ this ->styleBuilder ->setOutputType ($ outputType );
872
+ }
873
+
869
874
/**
870
875
* @param mixed $value
871
876
*/
Original file line number Diff line number Diff line change 11
11
12
12
class StyleBuilder
13
13
{
14
- private const STYLE_NO = 0 ;
15
- private const STYLE_SCOPED = 1 ;
16
- private const STYLE = 2 ;
17
- private const STYLE_ALL = 3 ;
14
+ public const STYLE_NO = 0 ;
15
+ public const STYLE_SCOPED = 1 ;
16
+ public const STYLE = 2 ;
17
+ public const STYLE_ALL = 3 ;
18
18
19
19
/**
20
20
* @var ScssCompiler|null
@@ -53,6 +53,11 @@ public function __construct()
53
53
$ this ->hasScoped = false ;
54
54
}
55
55
56
+ public function setOutputType (int $ outputType ): void
57
+ {
58
+ $ this ->outputType = $ outputType ;
59
+ }
60
+
56
61
/**
57
62
* @param DOMElement|null $styleElement
58
63
*/
You can’t perform that action at this time.
0 commit comments