| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function getNodeDefinition(ArrayNodeDefinition $node) |
||
| 29 | { |
||
| 30 | $node |
||
| 31 | ->children() |
||
| 32 | ->arrayNode($this->name()) |
||
| 33 | ->useAttributeAsKey('name') |
||
| 34 | ->arrayPrototype() |
||
| 35 | ->children() |
||
| 36 | ->booleanNode('is_public') |
||
| 37 | ->info('If true, the service will be public, else private.') |
||
| 38 | ->defaultTrue() |
||
| 39 | ->end() |
||
| 40 | ->arrayNode('signature_algorithms') |
||
| 41 | ->info('A list of supported signature algorithms.') |
||
| 42 | ->useAttributeAsKey('name') |
||
| 43 | ->isRequired() |
||
| 44 | ->cannotBeEmpty() |
||
| 45 | ->scalarPrototype()->end() |
||
| 46 | ->end() |
||
| 47 | ->end() |
||
| 48 | ->end() |
||
| 49 | ->end() |
||
| 50 | ->end(); |
||
| 51 | } |
||
| 52 | |||
| 61 |