src/Behat/Behat/Hook/Call/RuntimeScenarioHook.php
protected function isMatchTagFilter(FeatureNode $feature, ScenarioInterface $scenario, $filterString)
    {
        $filter = new TagFilter($filterString);

        if ($filter->isFeatureMatch($feature)) {
            return true;
        }

        return $filter->isScenarioMatch($feature, $scenario);
    }
protected function isMatchTagFilter(FeatureNode $feature, ScenarioInterface $scenario, $filterString)
    {
        $filter = new TagFilter($filterString);

        if ($filter->isFeatureMatch($feature)) {
            return true;
        }

        return $filter->isScenarioMatch($feature, $scenario);
    }
protected function isMatchTagFilter ( FeatureNode $ feature , ScenarioInterface $ scenario , $ filterString ) { $ filter = new TagFilter ( $ filterString ) ; if ( $ filter -> isFeatureMatch ( $ feature ) ) { return true ; } return $ filter -> isScenarioMatch ( $ feature , $ scenario ) ; }
Checks if node match tag filter.

@param FeatureNode       $feature
@param ScenarioInterface $scenario
@param string            $filterString

@return Boolean
Checks if node match tag filter .