OptionsResolver::remove()

OptionsResolver remove(string|string[] $optionNames)

Removes the option with the given name.

Undefined options are ignored.

Parameters

string|string[] $optionNames One or more option names

Return Value

OptionsResolver This instance

Exceptions

AccessException If called from a lazy option or normalizer
doc_Symfony
2016-10-28 06:25:16
Comments
Leave a Comment

Please login to continue.