src/Behat/Behat/Output/Node/EventListener/Statistics/ScenarioStatsListener.php
private function captureCurrentFeaturePathOnBeforeFeatureEvent(Event $event)
    {
        if (!$event instanceof BeforeFeatureTested) {
            return;
        }

        $this->currentFeaturePath = $event->getFeature()->getFile();
    }
private function captureCurrentFeaturePathOnBeforeFeatureEvent(Event $event)
    {
        if (!$event instanceof BeforeFeatureTested) {
            return;
        }

        $this->currentFeaturePath = $event->getFeature()->getFile();
    }
private function captureCurrentFeaturePathOnBeforeFeatureEvent ( Event $ event ) { if ( ! $ event instanceof BeforeFeatureTested ) { return ; } $ this -> currentFeaturePath = $ event -> getFeature ( ) -> getFile ( ) ; }
Captures current feature file path to the ivar on feature BEFORE event.

@param Event $event
Captures current feature file path to the ivar on feature BEFORE event .