-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathEverlutionNavigationBundle.php
29 lines (25 loc) · 1.08 KB
/
EverlutionNavigationBundle.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
<?php
declare(strict_types=1);
namespace Everlution\NavigationBundle;
use Everlution\NavigationBundle\DependencyInjection\Compiler\NestedRegistryCompilerPass;
use Everlution\NavigationBundle\DependencyInjection\Compiler\RegisterStandaloneItemsCompilerPass;
use Everlution\NavigationBundle\DependencyInjection\Compiler\RegistryCompilerPass;
use Everlution\NavigationBundle\DependencyInjection\Compiler\UrlProviderCompilerPass;
use Everlution\NavigationBundle\DependencyInjection\Compiler\VoterCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class EverlutionNavigationBundle.
*
* @author Ivan Barlog <[email protected]>
*/
class EverlutionNavigationBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new RegistryCompilerPass());
$container->addCompilerPass(new UrlProviderCompilerPass());
$container->addCompilerPass(new VoterCompilerPass());
$container->addCompilerPass(new RegisterStandaloneItemsCompilerPass());
}
}