class
Illuminate
/
Console
/
Parser
Parser
Methods
public
static
parse ( string $expression ) : array
Parse the given console command definition into an array.
Parameters
- $expression string
protected
static
name ( string $expression ) : string
Extract the name of the command from the expression.
Parameters
- $expression string
protected
static
parameters ( array $tokens ) : array
Extract all parameters from the tokens.
Parameters
- $tokens array
protected
static
parseArgument ( string $token ) : Symfony\...\InputArgument
Parse an argument expression.
Parameters
- $token string
protected
static
parseOption ( string $token ) : Symfony\...\InputOption
Parse an option expression.
Parameters
- $token string
protected
static
extractDescription ( string $token ) : array
Parse the token into its token and description segments.
Parameters
- $token string