-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKRSonataUserBundle.php
More file actions
33 lines (28 loc) · 989 Bytes
/
KRSonataUserBundle.php
File metadata and controls
33 lines (28 loc) · 989 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
32
33
<?php
declare(strict_types=1);
/*
* This file is part of the KRSonataUserBundle package.
*
* (c) KR Digital <box@gkr.digital>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* partially taken from https://github.com/sonata-project/SonataUserBundle
* SonataUserBundle is released under the MIT License. See https://github.com/sonata-project/SonataUserBundle/blob/4.x/LICENSE for details.
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*/
namespace KR\SonataUserBundle;
use KR\SonataUserBundle\DependencyInjection\Compiler\RolesMatrixCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class KRSonataUserBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new RolesMatrixCompilerPass());
}
}