Method | Description | |
---|---|---|
__construct ( |
Object constructor | |
run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | Runs the instantiated Terminus application |
Method | Description | |
---|---|---|
configureContainer ( League\Container\ContainerInterface $container ) | Register the necessary classes for Terminus | |
getCommands ( array $options = ['path' => null, 'namespace' => null] ) : |
Discovers command classes using CommandFileDiscovery | |
startVCR ( array $options = ['cassette' => 'tmp', 'mode' => 'none'] ) : void | Starts and configures PHP-VCR | |
stopVCR ( ) : void | Stops PHP-VCR's recording and playback |
public __construct ( |
||
$config | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
public run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | ||
$input | Symfony\Component\Console\Input\InputInterface | An input object to run the application with |
$output | Symfony\Component\Console\Output\OutputInterface | An output object to run the application with |
return | integer | $status_code The exiting status code of the application |