public function __construct(Command $command, InputInterface $input, OutputInterface $output, $exitCode) { parent::__construct($command, $input, $output); $this->setExitCode($exitCode); }
public function __construct(Command $command, InputInterface $input, OutputInterface $output, \Exception $exception, $exitCode) { parent::__construct($command, $input, $output); $this->setException($exception); $this->exitCode = (int) $exitCode; }
/** * Constructor. * * @param Command $command * @param InputInterface $input * @param OutputInterface $output * @param array $chain All members of this chain. */ public function __construct(Command $command, InputInterface $input, OutputInterface $output, array $chain) { parent::__construct($command, $input, $output); $this->chain = $chain; }