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

__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

getAdjustedOptions()

Use 'hasParameterOption()' to attempt to disambiguate option states.

shouldConvertOptionToFalse($options, $option, $value)

No description

cacheSpecialDefaults($definition)

No description

getArgsWithoutAppName()

No description

getArgsAndOptions()

No description

Details

__construct(AnnotationData $annotationData, InputInterface $input, OutputInterface $output, $parameterMap = [])

No description

Parameters

AnnotationData $annotationData
InputInterface $input
OutputInterface $output
$parameterMap

injectInstance($injectedInstance)

For internal use only; inject an instance to be passed back to the command callback as a parameter.

Parameters

$injectedInstance

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.

Parameters

$includeOptionsInArgs

annotationData()

No description

formatterOptions()

No description

setFormatterOptions($formatterOptions)

No description

Parameters

$formatterOptions

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

Parameters

$options
$option
$value

cacheSpecialDefaults($definition)

No description

Parameters

$definition

getArgsWithoutAppName()

No description

getArgsAndOptions()

No description