Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function getConfigTreeBuilder() |
||
35 | { |
||
36 | $treeBuilder = new TreeBuilder(); |
||
37 | $rootNode = $treeBuilder->root($this->alias); |
||
38 | |||
39 | $rootNode |
||
40 | ->children() |
||
41 | ->scalarNode('response_factory') |
||
42 | ->info('The response factory service') |
||
43 | ->isRequired() |
||
44 | ->end() |
||
45 | ->scalarNode('resource_repository') |
||
46 | ->info('The resource repository service') |
||
47 | ->isRequired() |
||
48 | ->end() |
||
49 | ->scalarNode('host') |
||
50 | ->info('The host of the server (e.g. example.com, my-service.net)') |
||
51 | ->isRequired() |
||
52 | ->end() |
||
53 | ->scalarNode('path') |
||
54 | ->info('The path to the issuer discovery endpoint. Should be "/.well-known/webfinger" for compliance with the RFC7033.') |
||
55 | ->defaultValue('/.well-known/webfinger') |
||
56 | ->end() |
||
57 | ->end(); |
||
58 | |||
59 | return $treeBuilder; |
||
60 | } |
||
61 | } |
||
62 |