src/Behat/Behat/Output/Node/EventListener/Flow/OnlyFirstBackgroundFiresListener.php
private function flushStatesIfBeginningOfTheFeature($eventName)
    {
        if (FeatureTested::BEFORE !== $eventName) {
            return;
        }

        $this->firstBackgroundEnded = false;
        $this->inBackground = false;
    }
private function flushStatesIfBeginningOfTheFeature($eventName)
    {
        if (FeatureTested::BEFORE !== $eventName) {
            return;
        }

        $this->firstBackgroundEnded = false;
        $this->inBackground = false;
    }
private function flushStatesIfBeginningOfTheFeature ( $ eventName ) { if ( FeatureTested :: BEFORE !== $ eventName ) { return ; } $ this -> firstBackgroundEnded = false ; $ this -> inBackground = false ; }
Flushes state if the event is the BEFORE feature.

@param string $eventName
Flushes state if the event is the BEFORE feature .