JsonDescriptor
class JsonDescriptor extends Descriptor
Свойства
| protected OutputStyle | $output | из Descriptor | |
| protected | $type | из Descriptor | |
| protected | $ownOptions | из Descriptor | |
| protected | $overriddenOptions | из Descriptor | |
| protected | $parentOptions | из Descriptor | |
| protected | $extensionOptions | из Descriptor | |
| protected | $requiredOptions | из Descriptor | |
| protected | $parents | из Descriptor | |
| protected | $extensions | из Descriptor |
Методы
| describe(OutputInterface $output, object $object, array $options = array()) Описывает объект, если это поддерживается. | из Descriptor | |
| describeDefaults(array $options) | ||
| describeResolvedFormType(ResolvedFormTypeInterface $resolvedFormType, array $options = array()) | ||
| describeOption(OptionsResolver $optionsResolver, array $options) | ||
| collectOptions(ResolvedFormTypeInterface $type) | из Descriptor | |
| getOptionDefinition(OptionsResolver $optionsResolver, $option) | из Descriptor |
Подробности
describe(OutputInterface $output, object $object, array $options = array())
Описывает объект, если это поддерживается.
Параметры
| OutputInterface | $output | |
| object | $object | |
| array | $options |
protected describeDefaults(array $options)
Параметры
| array | $options |
protected describeResolvedFormType(ResolvedFormTypeInterface $resolvedFormType, array $options = array())
Параметры
| ResolvedFormTypeInterface | $resolvedFormType | |
| array | $options |
protected describeOption(OptionsResolver $optionsResolver, array $options)
Параметры
| OptionsResolver | $optionsResolver | |
| array | $options |
protected collectOptions(ResolvedFormTypeInterface $type)
Параметры
| ResolvedFormTypeInterface | $type |
protected getOptionDefinition(OptionsResolver $optionsResolver, $option)
Параметры
| 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