| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class JsMinify implements MinifyInterface |
||
| 16 | { |
||
| 17 | use Options; |
||
| 18 | |||
| 19 | private string $content = ''; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * JsMinify constructor. |
||
| 23 | * @param array $minifyOptions |
||
| 24 | */ |
||
| 25 | 6 | public function __construct(array $minifyOptions = []) |
|
| 28 | 6 | } |
|
| 29 | |||
| 30 | 1 | public function setContent(string $content): void |
|
| 33 | 1 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | * @throws \Exception |
||
| 38 | */ |
||
| 39 | 1 | public function getContent(): string |
|
| 49 |