|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
|
|
4
|
|
|
namespace Doctrine\Bundle\MigrationsBundle; |
|
5
|
|
|
|
|
6
|
|
|
use Doctrine\Bundle\MigrationsBundle\DependencyInjection\CompilerPass\ConfigureDependencyFactoryPass; |
|
7
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
8
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle; |
|
9
|
|
|
|
|
10
|
|
|
/** |
|
11
|
|
|
* Bundle. |
|
12
|
|
|
* |
|
13
|
|
|
* @author Fabien Potencier <[email protected]> |
|
14
|
|
|
* @author Jonathan H. Wage <[email protected]> |
|
15
|
|
|
*/ |
|
16
|
|
|
class DoctrineMigrationsBundle extends Bundle |
|
17
|
|
|
{ |
|
18
|
12 |
|
public function build(ContainerBuilder $builder) |
|
19
|
|
|
{ |
|
20
|
12 |
|
$builder->addCompilerPass(new ConfigureDependencyFactoryPass()); |
|
21
|
12 |
|
} |
|
22
|
|
|
} |
|
23
|
|
|
|