forked from jphooiveld/EventSauceBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJphooiveldEventSauceBundle.php
More file actions
26 lines (22 loc) · 1.01 KB
/
JphooiveldEventSauceBundle.php
File metadata and controls
26 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
declare(strict_types=1);
namespace Jphooiveld\Bundle\EventSauceBundle;
use Jphooiveld\Bundle\EventSauceBundle\DependencyInjection\Compiler\AggregateRepositoryCompilerPass;
use Jphooiveld\Bundle\EventSauceBundle\DependencyInjection\Compiler\ConsumerCompilerPass;
use Jphooiveld\Bundle\EventSauceBundle\DependencyInjection\Compiler\DelegatableUpcasterCompilerPass;
use Jphooiveld\Bundle\EventSauceBundle\DependencyInjection\Compiler\MessageDecoratorCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
final class JphooiveldEventSauceBundle extends Bundle
{
/**
* {@inheritDoc}
*/
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new ConsumerCompilerPass());
$container->addCompilerPass(new DelegatableUpcasterCompilerPass());
$container->addCompilerPass(new MessageDecoratorCompilerPass());
$container->addCompilerPass(new AggregateRepositoryCompilerPass());
}
}