-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMonofonyCoreBundle.php
39 lines (33 loc) · 1.41 KB
/
MonofonyCoreBundle.php
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
32
33
34
35
36
37
38
39
<?php
/*
* This file is part of the Monofony package.
*
* (c) Monofony
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Monofony\Bundle\CoreBundle;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\ChangeCustomerContextVisibilityPass;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterDashboardStatisticsPass;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterOAuthClientManager;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterObjectManagerAliasPass;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterPasswordListenerForResourcesPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class MonofonyCoreBundle extends Bundle
{
public const VERSION = '0.8.0-alpha.5';
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new RegisterPasswordListenerForResourcesPass());
$container->addCompilerPass(new ChangeCustomerContextVisibilityPass());
$container->addCompilerPass(new RegisterDashboardStatisticsPass());
$container->addCompilerPass(new RegisterOAuthClientManager());
$container->addCompilerPass(new RegisterObjectManagerAliasPass());
}
}