W3cubDocs

/Symfony 4.1

Descriptor

abstract class Descriptor implements DescriptorInterface

Properties

protected OutputStyle $output
protected $type
protected $ownOptions
protected $overriddenOptions
protected $parentOptions
protected $extensionOptions
protected $requiredOptions
protected $parents
protected $extensions

Methods

describe(OutputInterface $output, object $object, array $options = array())

Describes an object if supported.

describeDefaults(array $options)
describeResolvedFormType(ResolvedFormTypeInterface $resolvedFormType, array $options = array())
describeOption(OptionsResolver $optionsResolver, array $options)
collectOptions(ResolvedFormTypeInterface $type)
getOptionDefinition(OptionsResolver $optionsResolver, $option)

Details

describe(OutputInterface $output, object $object, array $options = array())

Describes an object if supported.

Parameters

OutputInterface $output
object $object
array $options

abstract protected describeDefaults(array $options)

Parameters

array $options

abstract protected describeResolvedFormType(ResolvedFormTypeInterface $resolvedFormType, array $options = array())

Parameters

ResolvedFormTypeInterface $resolvedFormType
array $options

abstract 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/Descriptor.html