private function runAfterEachHooks(Suite $suite) { $this->runRunnable($suite->getHook('afterEach')); if ($suite->getParent()) { $this->runAfterEachHooks($suite->getParent()); } }