-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIDCIExtraFormBundle.php
More file actions
28 lines (23 loc) · 1 KB
/
IDCIExtraFormBundle.php
File metadata and controls
28 lines (23 loc) · 1 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
<?php
/**
* @author: Gabriel BONDAZ <gabriel.bondaz@idci-consulting.fr>
* @license: MIT
*/
namespace IDCI\Bundle\ExtraFormBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use IDCI\Bundle\ExtraFormBundle\DependencyInjection\Compiler\TypeCompilerPass;
use IDCI\Bundle\ExtraFormBundle\DependencyInjection\Compiler\ConstraintCompilerPass;
use IDCI\Bundle\ExtraFormBundle\DependencyInjection\Compiler\ConfigurationFetcherCompilerPass;
use IDCI\Bundle\ExtraFormBundle\DependencyInjection\Compiler\ExtraFormStepWorkerCompilerPass;
class IDCIExtraFormBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new TypeCompilerPass());
$container->addCompilerPass(new ConstraintCompilerPass());
$container->addCompilerPass(new ConfigurationFetcherCompilerPass());
$container->addCompilerPass(new ExtraFormStepWorkerCompilerPass());
}
}