class StringInput extendsArgvInput

StringInput represents an input provided as a string.

Usage:

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

Constants

REGEX_UNQUOTED_STRING

REGEX_QUOTED_STRING

Methods

__construct(string$input)

No description

Details

__construct(string$input)

Parameters

string $input A string representing the parameters from the CLI