class IndiscriminateInputDefinition extends InputDefinition (View source)

This is an InputDefinition that allows any option to be considered valid.

Used when passing a command through to another dispatcher that will do the option validation.

We use this instead of a LessStrictArgvInput in cases where we do not know in advance whether the input should be handled indiscriminately. In other words, an IndiscriminateInputDefinition is attached to individual Commands that should accept any option, whereas a LessStrictArgvInput should be used to make all command skip option validation.

Methods

hasShortcut($name)

No description

hasOption($name)

No description

getOption($name)

No description

Details

hasShortcut($name)

Parameters

$name

hasOption($name)

Parameters

$name

getOption($name)

Parameters

$name