Community I need your help. I have config file:
payments:
methods:
paypal:
enabled: false
allowed_countries:
- <country>
- ...
credit_card:
disallowed_countries:
- <country>
- ...
How can I validate using the TreeBuilder if arrayNode is containing only one of 2 allowed arrays: allowed_countries or disallowed_countries and throw exception if there is two arrays together? Symfony version 3.2