pho\Runner\Runner::after PHP Méthode

after() public méthode

Constructs a new Hook, defining a closure to be ran after the parent suite's closure.
public after ( Closure $closure )
$closure Closure The closure to be ran after the suite
    public function after(\Closure $closure)
    {
        $after = new Hook($closure, $this->current);
        $this->current->setHook('after', $after);
    }