2024-02-05 15:16:43 +00:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
|
2024-02-13 22:02:22 +00:00
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
2024-02-05 15:16:43 +00:00
|
|
|
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
|
|
$services = $containerConfigurator->services();
|
2024-06-09 14:43:34 +00:00
|
|
|
|
2024-02-05 15:16:43 +00:00
|
|
|
$services->defaults()
|
|
|
|
->autowire()
|
|
|
|
->autoconfigure();
|
2024-06-09 14:43:34 +00:00
|
|
|
|
|
|
|
$services->load('App\\', __DIR__ . '/../src/')
|
2024-02-05 15:16:43 +00:00
|
|
|
->exclude([
|
|
|
|
__DIR__ . '/../src/DependencyInjection/',
|
|
|
|
__DIR__ . '/../src/Entity/',
|
|
|
|
__DIR__ . '/../src/Kernel.php',
|
|
|
|
]);
|
|
|
|
};
|