bool hasOption(string $name) Returns true if an InputOption object exists by name.
setArguments(InputArgument[] $arguments
string getFirstArgument() Returns the first argument from the raw parameters (not parsed).
array getOptions() Returns all the given options merged with the default values.
mixed getParameterOption(string|array $values, mixed $default = false, bool $onlyParams = false)
mixed getOption(string $name) Returns the option value for a given option name.
validate() Validates the input. Exceptions
array getOptionDefaults() Gets an array of default values.
Page 1 of 8