Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function getConfigTreeBuilder() |
||
17 | { |
||
18 | $treeBuilder = new TreeBuilder(); |
||
19 | $rootNode = $treeBuilder->root('dos_queue'); |
||
20 | |||
21 | $this->setDefaults($rootNode, array( |
||
22 | 'resources' => array( |
||
23 | 'queue_message' => array( |
||
24 | 'options' => array( |
||
25 | 'object_manager' => 'dos_queue', |
||
26 | ), |
||
27 | 'classes' => array( |
||
28 | 'model' => 'DoS\QueueBundle\Model\QueueMessage', |
||
29 | 'interface' => 'DoS\QueueBundle\Model\QueueMessageInterface', |
||
30 | ), |
||
31 | ), |
||
32 | ), |
||
33 | )); |
||
34 | |||
35 | $this->createConnectionNode($rootNode); |
||
36 | |||
37 | return $treeBuilder; |
||
38 | } |
||
39 | |||
59 |