src/Behat/Behat/Output/Node/EventListener/AST/OutlineListener.php
private function printStepOnAfterStepEvent(Formatter $formatter, Event $event)
    {
        if (!$event instanceof AfterStepTested) {
            return;
        }

        $this->stepPrinter->printStep($formatter, $this->example, $event->getStep(), $event->getTestResult());
        $this->stepSetupPrinter->printTeardown($formatter, $event->getTeardown());
    }
private function printStepOnAfterStepEvent(Formatter $formatter, Event $event)
    {
        if (!$event instanceof AfterStepTested) {
            return;
        }

        $this->stepPrinter->printStep($formatter, $this->example, $event->getStep(), $event->getTestResult());
        $this->stepSetupPrinter->printTeardown($formatter, $event->getTeardown());
    }
private function printStepOnAfterStepEvent ( Formatter $ formatter , Event $ event ) { if ( ! $ event instanceof AfterStepTested ) { return ; } $ this -> stepPrinter -> printStep ( $ formatter , $ this -> example , $ event -> getStep ( ) , $ event -> getTestResult ( ) ) ; $ this -> stepSetupPrinter -> printTeardown ( $ formatter , $ event -> getTeardown ( ) ) ; }
Prints example step on step AFTER event.

@param Formatter $formatter
@param Event     $event
Prints example step on step AFTER event .