bool hasOption(string $name) Returns true if an InputOption object exists by name.
array getOptionDefaults() Gets an array of default values.
class InputOption Represents a command line option. Constants
mixed getOption(string $name) Returns the option value for a given option name.
interface InputInterface InputInterface is the interface implemented by all input classes.
setArguments(InputArgument[] $arguments
setOption(string $name, string|bool $value) Sets an option value by name.
mixed getParameterOption(string|array $values, mixed $default = false, bool $onlyParams = false)
validate() Validates the input. Exceptions
Page 1 of 8