Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function getConfigTreeBuilder() |
||
14 | { |
||
15 | $treeBuilder = new TreeBuilder('gbere_simple_auth'); |
||
16 | $rootNode = $treeBuilder->getRootNode(); |
||
17 | $rootNode |
||
18 | ->children() |
||
19 | ->arrayNode('user') |
||
20 | ->children() |
||
21 | ->scalarNode('entity')->defaultValue(User::class)->end() |
||
22 | ->end() |
||
23 | ->end() |
||
24 | ->end() |
||
25 | ; |
||
26 | |||
27 | return $treeBuilder; |
||
28 | } |
||
30 |