StringInput

StringInput

class StringInput extends ArgvInput

StringInput represents an input provided as a string.

Usage:

$input = new StringInput('foo --bar="foobar"');

Constants

REGEX_STRING
REGEX_QUOTED_STRING

Methods

__construct(string $input)

Constructor.

bind(InputDefinition $definition)

Binds the current I