src/Behat/Behat/Output/Node/EventListener/Flow/OnlyFirstBackgroundFiresListener.php
private function markBeginningOrEndOfTheBackground($eventName)
    {
        if (BackgroundTested::BEFORE === $eventName) {
            $this->inBackground = true;
        }

        if (BackgroundTested::AFTER === $eventName) {
            $this->inBackground = false;
        }
    }
private function markBeginningOrEndOfTheBackground($eventName)
    {
        if (BackgroundTested::BEFORE === $eventName) {
            $this->inBackground = true;
        }

        if (BackgroundTested::AFTER === $eventName) {
            $this->inBackground = false;
        }
    }
private function markBeginningOrEndOfTheBackground ( $ eventName ) { if ( BackgroundTested :: BEFORE === $ eventName ) { $ this -> inBackground = true ; } if ( BackgroundTested :: AFTER === $ eventName ) { $ this -> inBackground = false ; } }
Marks beginning or end of the background.

@param string $eventName
Marks beginning or end of the background .