Class StringInput
StringInput represents an input provided as a string.
Usage: $input = new StringInput('foo --bar="foobar"');
- Symfony\Component\Console\Input\Input implements Symfony\Component\Console\Input\InputInterface
- Symfony\Component\Console\Input\ArgvInput
- Symfony\Component\Console\Input\StringInput
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier fabien@symfony.com
Located at Input/StringInput.php
Author: Fabien Potencier fabien@symfony.com
Located at Input/StringInput.php
public
|
#
__construct( string $input,
Constructor. |
__toString(),
getFirstArgument(),
getParameterOption(),
hasParameterOption(),
parse(),
setTokens()
|
string |
REGEX_STRING
|
#
'([^\s]+?)(?:\s|(?<!\\\\)"|(?<!\\\\)\'|$)'
|
string |
REGEX_QUOTED_STRING
|
#
'(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"|\'([^\'\\\\]*(?:\\\\.[^\'\\\\]*)*)\')'
|
$arguments,
$definition,
$interactive,
$options
|