JsonDescriptor
class JsonDescriptor extends Descriptor
Properties
| protected OutputStyle | $output | from Descriptor | |
| protected | $type | from Descriptor | |
| protected | $ownOptions | from Descriptor | |
| protected | $overriddenOptions | from Descriptor | |
| protected | $parentOptions | from Descriptor | |
| protected | $extensionOptions | from Descriptor | |
| protected | $requiredOptions | from Descriptor | |
| protected | $parents | from Descriptor | |
| protected | $extensions | from Descriptor |
Methods
| describe(OutputInterface $output, object $object, array $options = array()) Describes an object if supported. | from Descriptor | |
| describeDefaults(array $options) | ||
| describeResolvedFormType(ResolvedFormTypeInterface $resolvedFormType, array $options = array()) | ||
| describeOption(OptionsResolver $optionsResolver, array $options) | ||
| collectOptions(ResolvedFormTypeInterface $type) | from Descriptor | |
| getOptionDefinition(OptionsResolver $optionsResolver, $option) | from Descriptor |
Details
describe(OutputInterface $output, object $object, array $options = array())
Describes an object if supported.
Parameters
| OutputInterface | $output | |
| object | $object | |
| array | $options |
protected describeDefaults(array $options)
Parameters
| array | $options |
protected describeResolvedFormType(ResolvedFormTypeInterface $resolvedFormType, array $options = array())
Parameters
| ResolvedFormTypeInterface | $resolvedFormType | |
| array | $options |
protected describeOption(OptionsResolver $optionsResolver, array $options)
Parameters
| OptionsResolver | $optionsResolver | |
| array | $options |
protected collectOptions(ResolvedFormTypeInterface $type)
Parameters
| ResolvedFormTypeInterface | $type |
protected getOptionDefinition(OptionsResolver $optionsResolver, $option)
Parameters
| OptionsResolver | $optionsResolver | |
| $option |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/Console/Descriptor/JsonDescriptor.html