|
23 | 23 | use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\TestServiceContainerWeakRefPass; |
24 | 24 | use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\UnusedTagsPass; |
25 | 25 | use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\WorkflowGuardListenerPass; |
| 26 | +use Symfony\Component\Cache\Adapter\ApcuAdapter; |
| 27 | +use Symfony\Component\Cache\Adapter\ArrayAdapter; |
| 28 | +use Symfony\Component\Cache\Adapter\ChainAdapter; |
| 29 | +use Symfony\Component\Cache\Adapter\PhpArrayAdapter; |
| 30 | +use Symfony\Component\Cache\Adapter\PhpFilesAdapter; |
26 | 31 | use Symfony\Component\Cache\DependencyInjection\CacheCollectorPass; |
27 | 32 | use Symfony\Component\Cache\DependencyInjection\CachePoolClearerPass; |
28 | 33 | use Symfony\Component\Cache\DependencyInjection\CachePoolPass; |
|
32 | 37 | use Symfony\Component\DependencyInjection\Compiler\PassConfig; |
33 | 38 | use Symfony\Component\DependencyInjection\Compiler\RegisterReverseContainerPass; |
34 | 39 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 40 | +use Symfony\Component\Dotenv\Dotenv; |
35 | 41 | use Symfony\Component\ErrorHandler\ErrorHandler; |
36 | 42 | use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass; |
37 | 43 | use Symfony\Component\Form\DependencyInjection\FormPass; |
|
58 | 64 | use Symfony\Component\Validator\DependencyInjection\AddAutoMappingConfigurationPass; |
59 | 65 | use Symfony\Component\Validator\DependencyInjection\AddConstraintValidatorsPass; |
60 | 66 | use Symfony\Component\Validator\DependencyInjection\AddValidatorInitializersPass; |
| 67 | +use Symfony\Component\VarExporter\Internal\Hydrator; |
| 68 | +use Symfony\Component\VarExporter\Internal\Registry; |
| 69 | + |
| 70 | +// Help opcache.preload discover always-needed symbols |
| 71 | +class_exists(ApcuAdapter::class); |
| 72 | +class_exists(ArrayAdapter::class); |
| 73 | +class_exists(ChainAdapter::class); |
| 74 | +class_exists(PhpArrayAdapter::class); |
| 75 | +class_exists(PhpFilesAdapter::class); |
| 76 | +class_exists(Dotenv::class); |
| 77 | +class_exists(ErrorHandler::class); |
| 78 | +class_exists(Hydrator::class); |
| 79 | +class_exists(Registry::class); |
61 | 80 |
|
62 | 81 | /** |
63 | 82 | * Bundle. |
|
0 commit comments