bool isArray() Returns true if the option can take multiple values.
bool isValueRequired() Returns true if the option requires a value.
bool isRequired() Returns true if the argument is required.
setArgument(string $name, string $value) Sets an argument value by name.
array getArgumentDefaults() Gets the default values.
class InputArgument Represents a command line argument. Constants
mixed getDefault() Returns the default value.
bool hasOption(string $name) Returns true if an InputOption object exists by name.
bool hasArgument(string|int $name) Returns true if an InputArgument object exists by name or
string getSynopsis(bool $short = false) Gets the synopsis.
Page 5 of 8