collection-crud/config/packages/framework.php
2023-07-21 10:35:15 -04:00

16 lines
428 B
PHP

<?php
declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Config\FrameworkConfig;
return static function (ContainerConfigurator $containerConfigurator, FrameworkConfig $config): void {
$config->session(['handler_id' => NULL]);
$config->secret('%env(APP_SECRET)%')
->defaultLocale('en')
->httpMethodOverride(TRUE)
->phpErrors(['log' => TRUE]);
};