Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMsgPhpUserBundle.php
More file actions
Latest commit
31 lines (25 loc) · 926 Bytes
/
Copy pathMsgPhpUserBundle.php
File metadata and controls
31 lines (25 loc) · 926 Bytes
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
27
28
29
30
31
<?php
declare(strict_types=1);
namespaceMsgPhp\UserBundle;
useMsgPhp\Domain\Infrastructure\DependencyInjection\BundleHelper;
useMsgPhp\UserBundle\DependencyInjection\Compiler\CleanupPass;
useMsgPhp\UserBundle\DependencyInjection\Extension;
useSymfony\Component\DependencyInjection\Compiler\PassConfig;
useSymfony\Component\DependencyInjection\ContainerBuilder;
useSymfony\Component\DependencyInjection\Extension\ExtensionInterface;
useSymfony\Component\HttpKernel\Bundle\Bundle;
/**
* @author Roland Franssen <franssen.roland@gmail.com>
*/
finalclass MsgPhpUserBundle extends Bundle
{
publicfunctionbuild(ContainerBuilder$container): void
{
$container->addCompilerPass(newCleanupPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 100);
BundleHelper::build($container);
}
publicfunctiongetContainerExtension(): ?ExtensionInterface
{
returnnewExtension();
}
}