pho\Runner\Runner::runAfterEachHooks PHP Method

runAfterEachHooks() private method

Runs the afterEach hooks of the given suite and its parent suites recursively. They are ran in the order in the opposite order, from inner suites to outer suites.
private runAfterEachHooks ( pho\Suite\Suite $suite )
$suite pho\Suite\Suite The suite with the hooks to run
    private function runAfterEachHooks(Suite $suite)
    {
        $this->runRunnable($suite->getHook('afterEach'));
        if ($suite->getParent()) {
            $this->runAfterEachHooks($suite->getParent());
        }
    }