| Conditions | 3 |
| Paths | 4 |
| Total Lines | 22 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function process(ContainerBuilder $container) |
||
| 28 | { |
||
| 29 | if ($container->hasParameter($parameter = 'templating.helper.form.resources')) { |
||
| 30 | $container->setParameter( |
||
| 31 | $parameter, |
||
| 32 | array_merge( |
||
| 33 | array('IvoryCKEditorBundle:Form'), |
||
| 34 | $container->getParameter($parameter) |
||
| 35 | ) |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | if ($container->hasParameter($parameter = 'twig.form.resources')) { |
||
| 40 | $container->setParameter( |
||
| 41 | $parameter, |
||
| 42 | array_merge( |
||
| 43 | array('IvoryCKEditorBundle:Form:ckeditor_widget.html.twig'), |
||
| 44 | $container->getParameter($parameter) |
||
| 45 | ) |
||
| 46 | ); |
||
| 47 | } |
||
| 48 | } |
||
| 49 | } |
||
| 50 |