| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | protected function configureResourceNode(ArrayNodeDefinition $resourceNode): void |
||
| 16 | { |
||
| 17 | $resourceNode |
||
| 18 | ->children() |
||
| 19 | ->scalarNode('code')->cannotBeEmpty()->end() |
||
| 20 | ->booleanNode('enabled')->end() |
||
|
|
|||
| 21 | ->arrayNode('channels')->scalarPrototype()->end()->end() |
||
| 22 | ->arrayNode('categories')->scalarPrototype()->end()->end() |
||
| 23 | ->scalarNode('title')->cannotBeEmpty()->end() |
||
| 24 | ->scalarNode('content')->cannotBeEmpty()->end() |
||
| 25 | ->scalarNode('slug')->cannotBeEmpty()->end() |
||
| 26 | ->scalarNode('image')->end() |
||
| 27 | ; |
||
| 38 |