CommandData
class CommandData (View source)
Properties
protected | $annotationData | var AnnotationData |
|
protected | $input | var InputInterface |
|
protected | $output | var OutputInterface |
|
protected | $includeOptionsInArgs | var boolean |
|
protected | $specialDefaults | var array |
|
protected string[] | $injectedInstances | ||
protected FormatterOptions | $formatterOptions | ||
protected bool[] | $parameterMap |
Methods
No description
For internal use only; inject an instance to be passed back to the command callback as a parameter.
Provide a reference to the instances that will be added to the beginning of the parameter list when the command callback is invoked.
For backwards-compatibility mode only: disable addition of options on the end of the arguments list.
No description
No description
No description
No description
No description
No description
No description
Use 'hasParameterOption()' to attempt to disambiguate option states.
No description
No description
No description
No description
Details
__construct(AnnotationData $annotationData, InputInterface $input, OutputInterface $output, $parameterMap = [])
No description
injectInstance($injectedInstance)
For internal use only; inject an instance to be passed back to the command callback as a parameter.
injectedInstances()
Provide a reference to the instances that will be added to the beginning of the parameter list when the command callback is invoked.
setIncludeOptionsInArgs($includeOptionsInArgs)
For backwards-compatibility mode only: disable addition of options on the end of the arguments list.
annotationData()
No description
formatterOptions()
No description
setFormatterOptions($formatterOptions)
No description
input()
No description
output()
No description
arguments()
No description
options()
No description
protected
getAdjustedOptions()
Use 'hasParameterOption()' to attempt to disambiguate option states.
protected
shouldConvertOptionToFalse($options, $option, $value)
No description
cacheSpecialDefaults($definition)
No description
getArgsWithoutAppName()
No description
getArgsAndOptions()
No description