Symfony\Component\Console\Input\StringInput::tokenize
Tokenizes a string.
Signature
private function tokenize(string
$input )
Parameters
$input
— string- The input to tokenize
Returns
- array
- An array of tokens
Errors/Exceptions
-
InvalidArgumentException
- When unable to parse input (should never happen)