| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function configureResourceNode(ArrayNodeDefinition $resourceNode): void |
||
| 24 | { |
||
| 25 | $resourceNode |
||
| 26 | ->children() |
||
| 27 | ->scalarNode('productCode')->cannotBeEmpty()->end() |
||
| 28 | ->arrayNode('slots') |
||
| 29 | ->prototype('array') |
||
| 30 | ->children() |
||
| 31 | ->scalarNode('name')->cannotBeEmpty()->end() |
||
| 32 | ->arrayNode('productCodes')->prototype('scalar')->end()->end() |
||
| 33 | ->arrayNode('options')->prototype('scalar')->end()->end() |
||
| 34 | ->end() |
||
| 35 | ->end() |
||
| 36 | ->end(); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |