| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 1 | public function getConfigTreeBuilder() |
|
| 26 | { |
||
| 27 | 1 | $treeBuilder = new TreeBuilder(); |
|
| 28 | 1 | $root = $treeBuilder->root('translation_adapter_flysystem'); |
|
| 29 | |||
| 30 | 1 | $root->children() |
|
| 31 | 1 | ->arrayNode('filesystems') |
|
| 32 | 1 | ->useAttributeAsKey('name') |
|
| 33 | 1 | ->prototype('array') |
|
| 34 | 1 | ->children() |
|
| 35 | 1 | ->scalarNode('flysystem_service')->isRequired()->end() |
|
| 36 | 1 | ->scalarNode('path')->isRequired()->end() |
|
| 37 | 1 | ->end() |
|
| 38 | 1 | ->end(); |
|
| 39 | |||
| 40 | 1 | return $treeBuilder; |
|
| 41 | } |
||
| 42 | } |
||
| 43 |