InputOption getOptionForShortcut(string
setDefinition(array $definition) Sets the definition of the input.
bool isValueOptional() Returns true if the option takes an optional value.
bool hasParameterOption(string|array $values, bool $onlyParams = false) Returns true if the raw
string getSynopsis(bool $short = false) Gets the synopsis.
bool hasArgument(string|int $name) Returns true if an InputArgument object exists by name or
string getName() Returns the option name.
setDefault(mixed $default = null) Sets the default value.
class ArrayInput extends Input
bool hasOption(string $name) Returns true if an InputOption object exists by name.
Page 6 of 8