| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function getConfigTreeBuilder() |
||
| 26 | { |
||
| 27 | $treeBuilder = new TreeBuilder(); |
||
| 28 | $rootNode = $treeBuilder->root('jafar_guarded_authentication'); |
||
| 29 | $rootNode |
||
| 30 | ->children() |
||
| 31 | ->scalarNode('pass_phrase') |
||
| 32 | ->end() |
||
| 33 | ->scalarNode('token_ttl') |
||
| 34 | ->end() |
||
| 35 | ->scalarNode('login_route') |
||
| 36 | ->end() |
||
| 37 | ->scalarNode('home_page_route') |
||
| 38 | ->end() |
||
| 39 | ->scalarNode('api_login_route') |
||
| 40 | ->end() |
||
| 41 | ->scalarNode('api_home_page_route') |
||
| 42 | ->end(); |
||
| 43 | |||
| 44 | return $treeBuilder; |
||
| 45 | } |
||
| 47 |