Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | trait HasTagRenderer |
||
12 | { |
||
13 | 4 | protected function getTagRenderer(): TagRenderer |
|
16 | } |
||
17 | |||
18 | /** |
||
19 | * @param string $entryName |
||
20 | * @param null $packageName |
||
21 | * @param string $entrypointName |
||
22 | * @return string |
||
23 | */ |
||
24 | 2 | public function renderWebpackScriptTags( |
|
25 | string $entryName, |
||
26 | $packageName = null, |
||
27 | string $entrypointName = '_default' |
||
28 | ): string { |
||
29 | 2 | return $this->getTagRenderer() |
|
30 | 2 | ->renderWebpackScriptTags($entryName, $packageName, $entrypointName); |
|
31 | } |
||
32 | |||
33 | 2 | public function renderWebpackLinkTags( |
|
40 | } |
||
41 | } |
||
42 |