Website/app/config/packages/dama_doctrine_test_bundle.php
Snoweuph a9f6e950fc
Some checks are pending
Quality Check / Check (push) Waiting to run
#1: Switch Config to PHP
2024-04-22 22:28:41 +02:00

15 lines
486 B
PHP

<?php
declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
if ($containerConfigurator->env() === 'test') {
$containerConfigurator->extension('dama_doctrine_test', [
'enable_static_connection' => true,
'enable_static_meta_data_cache' => true,
'enable_static_query_cache' => true,
]);
}
};