CodeExplorer getInputDefinitionData example
protected function describeInputOption(InputOption
$option, array
$options =
[]): void
{ $this->
writeData($this->
getInputOptionData($option),
$options);
if ($option->
isNegatable()) { $this->
writeData($this->
getInputOptionData($option, true
),
$options);
} } protected function describeInputDefinition(InputDefinition
$definition, array
$options =
[]): void
{ $this->
writeData($this->
getInputDefinitionData($definition),
$options);
} protected function describeCommand(Command
$command, array
$options =
[]): void
{ $this->
writeData($this->
getCommandData($command,
$options['short'
] ?? false
),
$options);
} protected function describeApplication(Application
$application, array
$options =
[]): void
{ $describedNamespace =
$options['namespace'
] ?? null;
$description =
new ApplicationDescription($application,
$describedNamespace, true
);
protected function describeInputOption(InputOption
$option, array
$options =
[]): void
{ $this->
writeData($this->
getInputOptionData($option),
$options);
if ($option->
isNegatable()) { $this->
writeData($this->
getInputOptionData($option, true
),
$options);
} } protected function describeInputDefinition(InputDefinition
$definition, array
$options =
[]): void
{ $this->
writeData($this->
getInputDefinitionData($definition),
$options);
} protected function describeCommand(Command
$command, array
$options =
[]): void
{ $this->
writeData($this->
getCommandData($command,
$options['short'
] ?? false
),
$options);
} protected function describeApplication(Application
$application, array
$options =
[]): void
{ $describedNamespace =
$options['namespace'
] ?? null;
$description =
new ApplicationDescription($application,
$describedNamespace, true
);