Total Complexity | 1 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class ManifestController extends Controller |
||
13 | { |
||
14 | // Protected Properties |
||
15 | // ========================================================================= |
||
16 | |||
17 | /** |
||
18 | * @var bool|array |
||
19 | */ |
||
20 | protected $allowAnonymous = [ |
||
21 | 'resource' |
||
22 | ]; |
||
23 | |||
24 | // Public Methods |
||
25 | // ========================================================================= |
||
26 | |||
27 | /** |
||
28 | * Make webpack async bundle loading work out of published AssetBundles |
||
29 | * |
||
30 | * @param string $resourceType |
||
31 | * @param string $fileName |
||
32 | * |
||
33 | * @return Response |
||
34 | */ |
||
35 | public function actionResource(string $resourceType = '', string $fileName = ''): Response |
||
50 |