32 lines
839 B
PHP
32 lines
839 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* This file is part of the zapoyok.info project.
|
|
* (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
|
|
$services->defaults()
|
|
->public()
|
|
->autowire(true)
|
|
->autoconfigure()
|
|
;
|
|
|
|
$services->load('Zapoyok\CQRSBundle\\', __DIR__.'/../../../src')
|
|
->exclude([
|
|
__DIR__,
|
|
__DIR__.'/../../../src/ZapoyokCQRSBundle.php',
|
|
__DIR__.'/../../../src/{DependencyInjection}',
|
|
])
|
|
;
|
|
};
|