Jelix 1.8.12

SingleCommandApplication extends Application
in package

Tags

Table of Contents

__construct()  : mixed
doRun()  : int
Runs the current application.
getDefinition()  : mixed

Methods

__construct()

public __construct(Command $command[, mixed $name = 'UNKNOWN' ]) : mixed
Parameters
$command : Command
$name : mixed = 'UNKNOWN'
Tags
Return values
mixed

doRun()

Runs the current application.

public doRun(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Tags
Return values
int

0 if everything went fine, or an error code

Search results