PHP Interface Webmozart\Console\Api\Resolver\CommandResolver

Since: 1.0
Author: Bernhard Schussek ([email protected])
Datei anzeigen Open project: webmozart/console

Public Methods

Method Description
resolveCommand ( Webmozart\Console\Api\Args\RawArgs $args, Webmozart\Console\Api\Application\Application $application ) : ResolvedCommand Returns the command to execute for the given console arguments.

Method Details

resolveCommand() public method

Returns the command to execute for the given console arguments.
public resolveCommand ( Webmozart\Console\Api\Args\RawArgs $args, Webmozart\Console\Api\Application\Application $application ) : ResolvedCommand
$args Webmozart\Console\Api\Args\RawArgs The console arguments.
$application Webmozart\Console\Api\Application\Application The application.
return ResolvedCommand The command to execute.