-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAMFWebServicesClientBundle.php
More file actions
43 lines (36 loc) · 1.11 KB
/
AMFWebServicesClientBundle.php
File metadata and controls
43 lines (36 loc) · 1.11 KB
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
40
41
42
43
<?php
/**
* The main class of the bundle.
*
* @package AMFWebServicesClientBundle
* @subpackage WebServicesClientBundle
* @author Mohamed Amine Fattouch <amine.fattouch@gmail.com>
*/
namespace AMF\WebServicesClientBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use AMF\WebServicesClientBundle\DependencyInjection\Compiler\RegisterSoapWebServicesPass;
use AMF\WebServicesClientBundle\DependencyInjection\Compiler\RegisterRestWebServicesPass;
/**
* The main class of the bundle.
*
* @package AMFWebServicesClientBundle
* @subpackage WebServicesClientBundle
* @author Mohamed Amine Fattouch <amine.fattouch@gmail.com>
*/
class AMFWebServicesClientBundle extends Bundle
{
/**
* Builds the container.
*
* @param ContainerBuilder $container The container.
*
* @return void
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new RegisterSoapWebServicesPass());
$container->addCompilerPass(new RegisterRestWebServicesPass());
}
}