Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | protected function configureResourceNode(ArrayNodeDefinition $resourceNode): void |
||
18 | { |
||
19 | $node = $resourceNode->children(); |
||
20 | $node->scalarNode('name')->cannotBeEmpty(); |
||
21 | $node->scalarNode('code')->cannotBeEmpty(); |
||
22 | $node->arrayNode('images')->variablePrototype(); |
||
23 | $node->arrayNode('products')->scalarPrototype(); |
||
24 | } |
||
26 |