forked from auto1-oss/service-api-components-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuto1ServiceAPIComponentsBundle.php
More file actions
29 lines (26 loc) · 963 Bytes
/
Auto1ServiceAPIComponentsBundle.php
File metadata and controls
29 lines (26 loc) · 963 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
/*
* This file is part of the auto1-oss/service-api-components-bundle.
*
* (c) AUTO1 Group SE https://www.auto1-group.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Auto1\ServiceAPIComponentsBundle;
use Auto1\ServiceAPIComponentsBundle\DependencyInjection\CompilerPass\EndpointProviderCompilerPass;
use Auto1\ServiceAPIComponentsBundle\DependencyInjection\CompilerPass\UrlResolverCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class Auto1ServiceAPIComponentsBundle
*/
class Auto1ServiceAPIComponentsBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new UrlResolverCompilerPass());
$container->addCompilerPass(new EndpointProviderCompilerPass());
}
}