| Conditions | 7 |
| Paths | 4 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | public function addConfiguration(NodeDefinition $node) |
||
| 49 | { |
||
| 50 | $node |
||
| 51 | ->children() |
||
| 52 | ->scalarNode('storage_path')->isRequired()->end() |
||
| 53 | ->integerNode('ttl')->defaultValue(0)->min(0)->end() |
||
| 54 | ->arrayNode('additional_values') |
||
| 55 | ->defaultValue([]) |
||
| 56 | ->useAttributeAsKey('key') |
||
| 57 | ->prototype('variable')->end() |
||
| 58 | ->end() |
||
| 59 | ->end(); |
||
| 60 | } |
||
| 61 | } |
||
| 62 |