PHP Interface Kraken\Console\Client\Command\CommandManagerInterface

显示文件 Open project: kraken-php/framework

Public Methods

Method Description
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer Runs the current application.
setVersion ( string $version ) Set framework version to print.

Method Details

run() public method

Runs the current application.
public run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer
$input Symfony\Component\Console\Input\InputInterface An Input instance
$output Symfony\Component\Console\Output\OutputInterface An Output instance
return integer 0 if everything went fine, or an error code

setVersion() public method

Set framework version to print.
public setVersion ( string $version )
$version string