protected array
$extensionOptions =
[];
protected array
$requiredOptions =
[];
protected array
$parents =
[];
protected array
$extensions =
[];
public function describe(OutputInterface
$output, ?object
$object, array
$options =
[]): void
{ $this->output =
$output instanceof OutputStyle ?
$output :
new SymfonyStyle(new ArrayInput([]),
$output);
match (true
) { null ===
$object =>
$this->
describeDefaults($options),
$object instanceof ResolvedFormTypeInterface =>
$this->
describeResolvedFormType($object,
$options),
$object instanceof OptionsResolver =>
$this->
describeOption($object,
$options),
default =>
throw new \
InvalidArgumentException(sprintf('Object of type "%s" is not describable.',
get_debug_type($object))),
};
} abstract protected function describeDefaults(array
$options): void;
abstract protected function describeResolvedFormType(ResolvedFormTypeInterface
$resolvedFormType, array
$options =
[]): void;
abstract protected function describeOption(OptionsResolver
$optionsResolver, array
$options): void;