| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 8 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class ViteVariable implements ViteVariableInterface |
||
| 29 | { |
||
| 30 | use ViteVariableTrait; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Returns the Critical CSS file for $template wrapped in <style></style> |
||
| 34 | * tags |
||
| 35 | * |
||
| 36 | * @param null|string $name |
||
| 37 | * @param array $attributes additional HTML key/value pair attributes to add to the resulting tag |
||
| 38 | * |
||
| 39 | * @return Markup |
||
| 40 | * @throws LoaderError |
||
| 41 | */ |
||
| 42 | public function includeCriticalCssTags($name = null, array $attributes = []): Markup |
||
| 46 | ); |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Return the hash value for the first CSS file bundled with the module specified via $path |
||
| 51 | * |
||
| 52 | * @param $path |
||
| 53 | * @return Markup |
||
| 54 | */ |
||
| 55 | public function getCssHash($path): Markup |
||
| 62 |