OptionsResolverIntrospector
class OptionsResolverIntrospector
Methods
| __construct(OptionsResolver $optionsResolver) | ||
| mixed | getDefault(string $option) | |
| Closure[] | getLazyClosures(string $option) | |
| string[] | getAllowedTypes(string $option) | |
| mixed[] | getAllowedValues(string $option) | |
| Closure | 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 |
Closure getNormalizer(string $option)
Parameters
| string | $option |
Return Value
| Closure |
Exceptions
| NoConfigurationException | on no configured normalizer |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/OptionsResolver/Debug/OptionsResolverIntrospector.html