Conditions | 1 |
Paths | 1 |
Total Lines | 32 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function getNodeDefinition(NodeDefinition $node): void |
||
23 | { |
||
24 | $node |
||
25 | ->children() |
||
26 | ->arrayNode($this->name()) |
||
27 | ->useAttributeAsKey('name') |
||
28 | ->arrayPrototype() |
||
29 | ->children() |
||
30 | ->booleanNode('is_public') |
||
31 | ->info('If true, the service will be public, else private.') |
||
32 | ->defaultTrue() |
||
33 | ->end() |
||
34 | ->arrayNode('signature_algorithms') |
||
35 | ->info('A list of supported signature algorithms.') |
||
36 | ->useAttributeAsKey('name') |
||
37 | ->isRequired() |
||
38 | ->requiresAtLeastOneElement() |
||
39 | ->scalarPrototype()->end() |
||
40 | ->end() |
||
41 | ->arrayNode('tags') |
||
42 | ->info('A list of tags to be associated to the service.') |
||
43 | ->useAttributeAsKey('name') |
||
44 | ->treatNullLike([]) |
||
45 | ->treatFalseLike([]) |
||
46 | ->variablePrototype()->end() |
||
47 | ->end() |
||
48 | ->end() |
||
49 | ->end() |
||
50 | ->end() |
||
51 | ->end() |
||
52 | ; |
||
53 | } |
||
54 | |||
60 |