| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 16 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | 4 | private function configureJms(ArrayNodeDefinition $adapters) |
|
| 38 | 4 | { |
|
| 39 | 4 | $jms = $adapters->children()->arrayNode('jms'); |
|
| 40 | 4 | ||
| 41 | 6 | $jms->canBeEnabled(); |
|
| 42 | 2 | ||
| 43 | 3 | $jms->children() |
|
| 44 | 4 | ->arrayNode('relation_handlers') |
|
| 45 | 4 | ->fixXmlConfig('relation_handler') |
|
| 46 | 5 | ->useAttributeAsKey('handler') |
|
| 47 | 3 | ->prototype('scalar') |
|
| 48 | 6 | ->info( |
|
| 49 | 3 | 'Key: Relation handler name (i.e. "Relation"), Value: service ID for relation handler entity manager' |
|
| 50 | 4 | ) |
|
| 51 | 5 | ->isRequired(); |
|
| 52 | 5 | } |
|
| 53 | } |
||
| 54 |