collection-crud/config/packages/framework.php

16 lines
429 B
PHP

<?php
declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$containerConfigurator->extension('framework', [
'secret' => '%env(APP_SECRET)%',
'default_locale' => 'en',
'http_method_override' => false,
'session' => ['handler_id' => null],
'php_errors' => ['log' => true]
]);
};