Symfony\Component\OptionsResolver\OptionsResolver::validateOptionsExistence
Validates that the given option names exist and throws an exception otherwise.
Signature
private function validateOptionsExistence(array
$options )
Parameters
$options
— array- An list of option names as keys.
Errors/Exceptions
-
InvalidOptionsException
- If any of the options has not been defined.