forked from jbouzekri/FileUploaderBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJbFileUploaderBundle.php
33 lines (28 loc) · 919 Bytes
/
JbFileUploaderBundle.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
30
31
32
33
<?php
/**
* Copyright 2014 Jonathan Bouzekri. All rights reserved.
*
* @copyright Copyright 2014 Jonathan Bouzekri <jonathan.bouzekri@gmail.com>
* @license https://github.com/jbouzekri/ConfigKnpMenuBundle/blob/master/LICENSE
* @link https://github.com/jbouzekri/ConfigKnpMenuBundle
*/
namespace Jb\Bundle\FileUploaderBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* JbFileUploaderBundle bundle
*
* @author Jonathan Bouzekri <jonathan.bouzekri@gmail.com>
*/
class JbFileUploaderBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new DependencyInjection\Compiler\ResolverCompilerPass());
$container->addCompilerPass(new DependencyInjection\Compiler\ValidatorCompilerPass());
}
}