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>
Api
Located at laravel/vendor/Symfony/Component/Console/Input/StringInput.php
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at laravel/vendor/Symfony/Component/Console/Input/StringInput.php
public
|
#
__construct( string $input,
Constructor. |
private
|
getFirstArgument(),
getParameterOption(),
hasParameterOption(),
parse(),
setTokens()
|
bind(),
getArgument(),
getArguments(),
getOption(),
getOptions(),
hasArgument(),
hasOption(),
isInteractive(),
setArgument(),
setInteractive(),
setOption(),
validate()
|
string |
REGEX_STRING
|
'([^ ]+?)(?: |(?<!\\\\)"|(?<!\\\\)\'|$)' |
|
string |
REGEX_QUOTED_STRING
|
'(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"|\'([^\'\\\\]*(?:\\\\.[^\'\\\\]*)*)\')' |
$arguments,
$definition,
$interactive,
$options
|