| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function getConfigTreeBuilder() |
||
| 19 | { |
||
| 20 | $treeBuilder = new TreeBuilder(); |
||
| 21 | $rootNode = $treeBuilder->root('sqs_job_queue'); |
||
| 22 | |||
| 23 | $rootNode->children() |
||
| 24 | ->scalarNode('prefix')->defaultValue('')->end() |
||
| 25 | ->arrayNode('aws') |
||
| 26 | ->children() |
||
| 27 | ->scalarNode('key')->end() |
||
| 28 | ->scalarNode('secret')->end() |
||
| 29 | ->scalarNode('region')->defaultValue('ap-northeast-1')->end() |
||
| 30 | ->end() |
||
| 31 | ->end() |
||
| 32 | ; |
||
| 33 | |||
| 34 | return $treeBuilder; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |