| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | public function registerBundles() |
||
| 9 | { |
||
| 10 | $bundles = [ |
||
| 11 | new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
| 12 | new Symfony\Bundle\MonologBundle\MonologBundle(), |
||
| 13 | new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), |
||
| 14 | new Janalis\Doctrineviz\DoctrinevizBundle(), |
||
| 15 | ]; |
||
| 16 | |||
| 17 | if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { |
||
| 18 | $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); |
||
| 19 | } |
||
| 20 | |||
| 21 | return $bundles; |
||
| 22 | } |
||
| 29 |