-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOroSyncBundle.php
More file actions
29 lines (25 loc) · 981 Bytes
/
OroSyncBundle.php
File metadata and controls
29 lines (25 loc) · 981 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
<?php
namespace Oro\Bundle\SyncBundle;
use Oro\Bundle\SyncBundle\DependencyInjection\Compiler\SkipTagTrackingPass;
use Oro\Bundle\SyncBundle\DependencyInjection\Compiler\WebsocketOriginRegistryPass;
use Oro\Bundle\SyncBundle\DependencyInjection\Compiler\WebsocketRouterCachePass;
use Oro\Bundle\SyncBundle\DependencyInjection\Compiler\WebsocketRouterConfigurationPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* The SyncBundle bundle class.
*/
class OroSyncBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new SkipTagTrackingPass());
$container->addCompilerPass(new WebsocketRouterConfigurationPass());
$container->addCompilerPass(new WebsocketRouterCachePass());
$container->addCompilerPass(new WebsocketOriginRegistryPass());
}
}