| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function registerBundles() |
||
| 15 | { |
||
| 16 | $bundles = [ |
||
| 17 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
| 18 | new \Symfony\Bundle\MonologBundle\MonologBundle(), |
||
| 19 | new \JMS\SerializerBundle\JMSSerializerBundle(), |
||
| 20 | new \Smartbox\CoreBundle\SmartboxCoreBundle(), |
||
| 21 | ]; |
||
| 22 | |||
| 23 | switch ($this->getEnvironment()) { |
||
| 24 | case CacheDriversCompilerPass::PREDEFINED_CACHE_DRIVER_PREDIS: |
||
| 25 | $bundles[] = new \Snc\RedisBundle\SncRedisBundle(); |
||
| 26 | break; |
||
| 27 | } |
||
| 28 | |||
| 29 | return $bundles; |
||
| 30 | } |
||
| 31 | |||
| 59 |