src/Behat/Behat/Output/Node/EventListener/Flow/FirstBackgroundFiresFirstListener.php
private function isEventDelayedUntilFirstBackgroundPrinted(Event $event)
    {
        if (!$event instanceof ScenarioTested && !$event instanceof OutlineTested && !$event instanceof ExampleTested) {
            return false;
        }

        return !$this->firstBackgroundEnded && $event->getFeature()->hasBackground();
    }
private function isEventDelayedUntilFirstBackgroundPrinted(Event $event)
    {
        if (!$event instanceof ScenarioTested && !$event instanceof OutlineTested && !$event instanceof ExampleTested) {
            return false;
        }

        return !$this->firstBackgroundEnded && $event->getFeature()->hasBackground();
    }
private function isEventDelayedUntilFirstBackgroundPrinted ( Event $ event ) { if ( ! $ event instanceof ScenarioTested && ! $ event instanceof OutlineTested && ! $ event instanceof ExampleTested ) { return false ; } return ! $ this -> firstBackgroundEnded && $ event -> getFeature ( ) -> hasBackground ( ) ; }
Checks if provided event should be postponed until background is printed.

@param Event $event

@return Boolean
Checks if provided event should be postponed until background is printed .