PHP Class Webmozart\Console\Resolver\DefaultResolver

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Webmozart\Console\Api\Resolver\CommandResolver
显示文件 Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
resolveCommand ( Webmozart\Console\Api\Args\RawArgs $args, Webmozart\Console\Api\Application\Application $application )

Private Methods

Method Description
createResolvedCommand ( ResolveResult $result )
getArgumentsToTest ( array &$tokens )
getOptionsToTest ( array &$tokens )
processArguments ( Webmozart\Console\Api\Args\RawArgs $args, CommandCollection $namedCommands, array $argumentsToTest, array $optionsToTest ) : ResolveResult
processDefaultCommands ( Webmozart\Console\Api\Args\RawArgs $args, CommandCollection $defaultCommands ) : ResolveResult
processDefaultSubCommands ( Webmozart\Console\Api\Args\RawArgs $args, Command $currentCommand ) : ResolveResult
processOptions ( Webmozart\Console\Api\Args\RawArgs $args, Command $currentCommand, array $optionsToTest ) : ResolveResult

Method Details

resolveCommand() public method

public resolveCommand ( Webmozart\Console\Api\Args\RawArgs $args, Webmozart\Console\Api\Application\Application $application )
$args Webmozart\Console\Api\Args\RawArgs
$application Webmozart\Console\Api\Application\Application