OptionsResolverIntrospector

class OptionsResolverIntrospector

Methods

__construct(OptionsResolver $optionsResolver)
mixed getDefault(string $option)
Closure[] getLazyClosures(string $option)
string[] getAllowedTypes(string $option)
mixed[] getAllowedValues(string $option)
getNormalizer(string $option)

Details

__construct(OptionsResolver $optionsResolver)

Parameters

OptionsResolver $optionsResolver

mixed getDefault(string $option)

Parameters

string $option

Return Value

mixed

Exceptions

NoConfigurationException on no configured value

Closure[] getLazyClosures(string $option)

Parameters

string $option

Return Value

Closure[]

Exceptions

NoConfigurationException on no configured closures

string[] getAllowedTypes(string $option)

Parameters

string $option

Return Value

string[]

Exceptions

NoConfigurationException on no configured types

mixed[] getAllowedValues(string $option)

Parameters

string $option

Return Value

mixed[]

Exceptions

NoConfigurationException on no configured values

getNormalizer(string $option)

Parameters

string $option

Exceptions

NoConfigurationException on no configured normalizer