19 lines
437 B
PHP
19 lines
437 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||
|
|
||
|
return function(ContainerConfigurator $container): void {
|
||
|
$services = $container->services()
|
||
|
->defaults()
|
||
|
->autowire()
|
||
|
->autoconfigure()
|
||
|
;
|
||
|
|
||
|
$services
|
||
|
->load('App\\', '%kernel.project_dir%/src/')
|
||
|
->exclude('%kernel.project_dir%/src/{DependencyInjection,Entity,Kernel.php}')
|
||
|
;
|
||
|
};
|