8000 [DI] fix preloading script generation · symfony/cache-contracts@13443cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 13443cc

Browse files
[DI] fix preloading script generation
1 parent 711b1e2 commit 13443cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CacheTrait.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Psr\Cache\InvalidArgumentException;
1616
use Psr\Log\LoggerInterface;
1717

18+
// Help opcache.preload discover always-needed symbols
19+
class_exists(InvalidArgumentException::class);
20+
1821
/**
1922
* An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes.
2023
*

0 commit comments

Comments
 (0)
0