Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | 1 | public function getConfigTreeBuilder() |
|
17 | { |
||
18 | 1 | $treeBuilder = new TreeBuilder(); |
|
19 | |||
20 | 1 | $rootNode = $treeBuilder->root(JsonRpcHttpServerDocExtension::EXTENSION_IDENTIFIER); |
|
|
|||
21 | |||
22 | $rootNode |
||
23 | 1 | ->addDefaultsIfNotSet() |
|
24 | 1 | ->children() |
|
25 | 1 | ->variableNode('endpoint') |
|
26 | 1 | ->info('Your custom http doc endpoint path') |
|
27 | 1 | ->treatNullLike(self::DEFAULT_ENDPOINT) |
|
28 | 1 | ->defaultValue(self::DEFAULT_ENDPOINT) |
|
29 | 1 | ->end() |
|
30 | 1 | ->end() |
|
31 | ; |
||
32 | |||
33 | 1 | return $treeBuilder; |
|
34 | } |
||
36 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.