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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.