| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function getConfigTreeBuilder() |
||
| 27 | { |
||
| 28 | $treeBuilder = new TreeBuilder('surfnet_stepup_gateway_second_factor_only'); |
||
| 29 | |||
| 30 | $rootNode = $treeBuilder->getRootNode(); |
||
| 31 | |||
| 32 | $rootNode |
||
| 33 | ->children() |
||
| 34 | ->arrayNode('loa_aliases') |
||
| 35 | ->isRequired() |
||
| 36 | ->prototype('array') |
||
| 37 | ->children() |
||
| 38 | ->scalarNode('loa')->isRequired()->end() |
||
| 39 | ->scalarNode('alias')->isRequired()->end() |
||
| 40 | ->end() |
||
| 41 | ->end() |
||
| 42 | ->end() |
||
| 43 | ->end(); |
||
| 44 | |||
| 45 | return $treeBuilder; |
||
| 46 | } |
||
| 48 |