/** * @AfterScenario */ public function quitSubProcess() { if ($this->subProcess !== null) { $this->subProcess->quit(); } }