| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function addSemanticConfig(NodeBuilder $nodeBuilder) |
||
| 22 | { |
||
| 23 | $nodeBuilder->arrayNode('http_cache') |
||
| 24 | ->info('Settings related to Http cache (this kernel defined configuration block will be removed in 7.0. Use ezplatform-http-cache for forward compatibility)') |
||
| 25 | ->children() |
||
| 26 | ->arrayNode('purge_servers') |
||
| 27 | ->info('Servers to use for Http PURGE (will NOT be used if ezpublish.http_cache.purge_type is "local").') |
||
| 28 | ->example(array('http://localhost/', 'http://another.server/')) |
||
| 29 | ->requiresAtLeastOneElement() |
||
| 30 | ->prototype('scalar')->end() |
||
| 31 | ->end() |
||
| 32 | ->end() |
||
| 33 | ->end(); |
||
| 34 | } |
||
| 35 | } |