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

        $this->setupPrinter->printSetup($formatter, $event->getSetup());
        $this->featurePrinter->printHeader($formatter, $event->getFeature());
    }
private function printHeaderOnBeforeEvent(Formatter $formatter, Event $event)
    {
        if (!$event instanceof AfterFeatureSetup) {
            return;
        }

        $this->setupPrinter->printSetup($formatter, $event->getSetup());
        $this->featurePrinter->printHeader($formatter, $event->getFeature());
    }
private function printHeaderOnBeforeEvent ( Formatter $ formatter , Event $ event ) { if ( ! $ event instanceof AfterFeatureSetup ) { return ; } $ this -> setupPrinter -> printSetup ( $ formatter , $ event -> getSetup ( ) ) ; $ this -> featurePrinter -> printHeader ( $ formatter , $ event -> getFeature ( ) ) ; }
Prints feature header on BEFORE event.

@param Formatter $formatter
@param Event     $event
Prints feature header on BEFORE event .