13 lines
390 B
PHP
13 lines
390 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
if ($containerConfigurator->env() === 'dev') {
|
|
$containerConfigurator->extension('debug', [
|
|
'dump_destination' => 'tcp://%env(VAR_DUMPER_SERVER)%',
|
|
]);
|
|
}
|
|
};
|