src/Behat/Behat/Gherkin/Specification/LazyFeatureIterator.php
private function getSuiteFilters(Suite $suite)
    {
        if (!$suite->hasSetting('filters') || !is_array($suite->getSetting('filters'))) {
            return array();
        }

        $filters = array();
        foreach ($suite->getSetting('filters') as $type => $filterString) {
            $filters[] = $this->createFilter($type, $filterString, $suite);
        }

        return $filters;
    }
private function getSuiteFilters(Suite $suite)
    {
        if (!$suite->hasSetting('filters') || !is_array($suite->getSetting('filters'))) {
            return array();
        }

        $filters = array();
        foreach ($suite->getSetting('filters') as $type => $filterString) {
            $filters[] = $this->createFilter($type, $filterString, $suite);
        }

        return $filters;
    }
private function getSuiteFilters ( Suite $ suite ) { if ( ! $ suite -> hasSetting ( 'filters' ) || ! is_array ( $ suite -> getSetting ( 'filters' ) ) ) { return array ( ) ; } $ filters = array ( ) ; foreach ( $ suite -> getSetting ( 'filters' ) as $ type => $ filterString ) { $ filters [ ] = $ this -> createFilter ( $ type , $ filterString , $ suite ) ; } return $ filters ; }
Returns list of filters from suite settings.

@param Suite $suite

@return FilterInterface[]
Returns list of filters from suite settings .