| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait HasEntrypointLookup |
||
| 12 | { |
||
| 13 | 1 | protected function getEntrypointLookup(string $entrypointName): EntrypointLookupInterface |
|
| 14 | { |
||
| 15 | 1 | return $this->getContainer()->get('assets.entrypoint_lookup')->getEntrypointLookup($entrypointName); |
|
|
|
|||
| 16 | } |
||
| 17 | |||
| 18 | 1 | public function getWebpackJsFiles(string $entryName, string $entrypointName = '_default'): array |
|
| 19 | { |
||
| 20 | 1 | return $this->getEntrypointLookup($entrypointName) |
|
| 21 | 1 | ->getJavaScriptFiles($entryName); |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function getWebpackCssFiles(string $entryName, string $entrypointName = '_default'): array |
|
| 28 | } |
||
| 29 | } |
||
| 30 |