| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function getConfigTreeBuilder() |
||
| 19 | { |
||
| 20 | $treeBuilder = new TreeBuilder(); |
||
| 21 | |||
| 22 | $treeBuilder->root('debril_rss_atom') |
||
| 23 | ->children() |
||
| 24 | ->booleanNode('private') |
||
| 25 | ->info('Change cache headers so the RSS feed is not cached by public caches (like reverse-proxies...).') |
||
| 26 | ->defaultValue(false) |
||
| 27 | ->end() |
||
| 28 | ->booleanNode('force_refresh') |
||
| 29 | ->info('Do not send 304 status if the feed has not been modified since last hit') |
||
| 30 | ->defaultValue(false) |
||
| 31 | ->end() |
||
| 32 | ->arrayNode('date_formats') |
||
| 33 | ->prototype('scalar')->end() |
||
| 34 | ->end() |
||
| 35 | ->end() |
||
| 36 | ; |
||
| 37 | |||
| 38 | // Here you should define the parameters that are allowed to |
||
| 39 | // configure your bundle. See the documentation linked above for |
||
| 40 | // more information on that topic. |
||
| 41 | return $treeBuilder; |
||
| 42 | } |
||
| 43 | } |
||
| 44 |