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