public function setTerminateAfterRun($terminate) { Assert::boolean($terminate); $this->terminateAfterRun = $terminate; return $this; }
protected function setUp() { $this->config = new ApplicationConfig(); $this->config->setCatchExceptions(false); $this->config->setTerminateAfterRun(false); $this->config->setIOFactory(function ($application, $args, $inputStream, $outputStream, $errorStream) { return new IO(new Input($inputStream), new Output($outputStream), new Output($errorStream)); }); }