collection-crud/config/packages/framework.php

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]);
};