class InputDefinition A InputDefinition represents a set of valid command line arguments and options
bool isValueRequired() Returns true if the option requires a value.
bind(InputDefinition $definition)
string getFirstArgument() Returns the first argument from the raw parameters (not parsed).
setArgument(string $name, string $value) Sets an argument value by name.
string getShortcut() Returns the option shortcut.
class InputArgument Represents a command line argument. Constants
bool hasArgument(string|int $name) Returns true if an InputArgument object exists by name or
setDefault(mixed $default = null) Sets the default value.
bool hasOption(string $name) Returns true if an InputOption object exists by name.
Page 5 of 8