| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 27 | public function getConfigTreeBuilder() |
||
| 28 | { |
||
| 29 | $treeBuilder = new TreeBuilder(); |
||
| 30 | $rootNode = $treeBuilder->root('loopback_api'); |
||
| 31 | |||
| 32 | $rootNode |
||
| 33 | ->children() |
||
| 34 | ->arrayNode('parameters') |
||
| 35 | ->addDefaultsIfNotSet() |
||
| 36 | ->children() |
||
| 37 | ->scalarNode('filter')->defaultValue('filter')->info('Keyword for the filter.')->end() |
||
| 38 | ->scalarNode('search_filter')->defaultValue('where')->info('Keyword for the search filter.')->end() |
||
| 39 | ->scalarNode('order_filter')->defaultValue('order')->info('Keyword for the search filter.') |
||
| 40 | ->end() |
||
| 41 | ->end() |
||
| 42 | ->end() |
||
| 43 | ->end(); |
||
| 44 | |||
| 45 | return $treeBuilder; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |