Skip to content

Commit fda0ec7

Browse files
[DI] fix preloading script generation
1 parent dad60d9 commit fda0ec7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

EventListener/AddLinkHeaderListener.php

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
use Symfony\Component\HttpKernel\KernelEvents;
1818
use Symfony\Component\WebLink\HttpHeaderSerializer;
1919

20+
// Help opcache.preload discover always-needed symbols
21+
class_exists(HttpHeaderSerializer::class);
22+
2023
/**
2124
* Adds the Link HTTP header to the response.
2225
*

0 commit comments

Comments
 (0)