Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
29 | public function compile(bool $prettyOutput = true): string |
||
30 | { |
||
31 | $cssDocument = $this->cssParser->parse(); |
||
32 | |||
33 | $this->compileCSSList($cssDocument); |
||
34 | |||
35 | $outputFormat = $prettyOutput |
||
36 | ? OutputFormat::createPretty() |
||
37 | : OutputFormat::createCompact(); |
||
38 | |||
39 | return $cssDocument->render($outputFormat); |
||
40 | } |
||
42 |