| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 1 | public function getConfigTreeBuilder() |
|
| 26 | { |
||
| 27 | 1 | $treeBuilder = new TreeBuilder(); |
|
| 28 | 1 | $rootNode = $treeBuilder->root('sulu_validation'); |
|
| 29 | |||
| 30 | $rootNode |
||
| 31 | 1 | ->children() |
|
| 32 | 1 | ->arrayNode('schemas') |
|
| 33 | 1 | ->prototype('scalar')->end() |
|
| 34 | 1 | ->end() |
|
| 35 | 1 | ->scalarNode('schema_cache') |
|
| 36 | 1 | ->defaultValue('%kernel.cache_dir%/schema/jsonSchemaCache.php') |
|
| 37 | 1 | ->end() |
|
| 38 | 1 | ->end(); |
|
| 39 | |||
| 40 | 1 | return $treeBuilder; |
|
| 41 | } |
||
| 42 | } |
||
| 43 |