bool hasOption(string $name) Returns true if an InputOption object exists by name.
class InputOption Represents a command line option. Constants
setArguments(InputArgument[] $arguments
string getFirstArgument() Returns the first argument from the raw parameters (not parsed).
interface InputInterface InputInterface is the interface implemented by all input classes.
setOption(string $name, string|bool $value) Sets an option value by name.
array getOptions() Returns all the given options merged with the default values.
validate() Validates the input. Exceptions
mixed getParameterOption(string|array $values, mixed $default = false, bool $onlyParams = false)
Page 1 of 8