setTerminateAfterRun() public méthode

Sets whether to terminate the PHP process after running a command.
See also: isTerminatedAfterRun()
public setTerminateAfterRun ( boolean $terminate ) : static
$terminate boolean Whether to terminate the PHP process after running a command.
Résultat static The current instance.
 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));
     });
 }
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetTerminateAfterRunFailsIfNoBoolean()
 {
     $this->config->setTerminateAfterRun(1234);
 }