OptionsResolverInterface deprecated::isKnown()

bool isKnown(string $option)

Returns whether an option is known.

An option is known if it has been passed to either {@link setDefaults()}, {@link setRequired()} or {@link setOptional()} before.

Parameters

string $option The name of the option.

Return Value

bool Whether the option is known.
doc_Symfony
2016-10-28 06:25:20
Comments
Leave a Comment

Please login to continue.