reboot
This commit is contained in:
parent
3e33b45161
commit
e2a33be4f9
90 changed files with 2842 additions and 6060 deletions
|
@ -1,19 +1,18 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
use Symfony\Bridge\Twig\AppVariable;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
$services = $containerConfigurator->services();
|
||||
|
||||
$services->defaults()
|
||||
->autowire()
|
||||
->autoconfigure();
|
||||
$services
|
||||
->load('App\\', __DIR__ . '/../src/')
|
||||
|
||||
$services->load('App\\', __DIR__ . '/../src/')
|
||||
->exclude([
|
||||
__DIR__ . '/../src/DependencyInjection/',
|
||||
__DIR__ . '/../src/Entity/',
|
||||
__DIR__ . '/../src/Kernel.php',
|
||||
]);
|
||||
$services->alias(AppVariable::class, 'twig.app_variable');
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue