| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 8 | public function getConfigTreeBuilder() |
|
| 17 | { |
||
| 18 | 8 | $treeBuilder = new TreeBuilder('bdf_serializer'); |
|
| 19 | 8 | $treeBuilder->getRootNode() |
|
| 20 | 8 | ->children() |
|
| 21 | 8 | ->arrayNode('cache') |
|
| 22 | 8 | ->info('The metadata cache service. Should implement Psr\SimpleCache\CacheInterface.') |
|
| 23 | 8 | ->children() |
|
| 24 | 8 | ->scalarNode('pool')->end() |
|
| 25 | 8 | ->scalarNode('service')->end() |
|
| 26 | 8 | ->end() |
|
| 27 | 8 | ->end() |
|
| 28 | 8 | ->end() |
|
| 29 | ; |
||
| 30 | |||
| 31 | 8 | return $treeBuilder; |
|
| 32 | } |
||
| 34 |