src/Behat/Behat/Gherkin/Specification/Locator/FilesystemFeatureLocator.php
private function getSuitePaths(Suite $suite)
    {
        if (!is_array($suite->getSetting('paths'))) {
            throw new SuiteConfigurationException(
                sprintf('`paths` setting of the "%s" suite is expected to be an array, %s given.',
                    $suite->getName(),
                    gettype($suite->getSetting('paths'))
                ),
                $suite->getName()
            );
        }

        return $suite->getSetting('paths');
    }
private function getSuitePaths(Suite $suite)
    {
        if (!is_array($suite->getSetting('paths'))) {
            throw new SuiteConfigurationException(
                sprintf('`paths` setting of the "%s" suite is expected to be an array, %s given.',
                    $suite->getName(),
                    gettype($suite->getSetting('paths'))
                ),
                $suite->getName()
            );
        }

        return $suite->getSetting('paths');
    }
private function getSuitePaths ( Suite $ suite ) { if ( ! is_array ( $ suite -> getSetting ( 'paths' ) ) ) { throw new SuiteConfigurationException ( sprintf ( '`paths` setting of the "%s" suite is expected to be an array, %s given.' , $ suite -> getName ( ) , gettype ( $ suite -> getSetting ( 'paths' ) ) ) , $ suite -> getName ( ) ) ; } return $ suite -> getSetting ( 'paths' ) ; }
Returns array of feature paths configured for the provided suite.

@param Suite $suite

@return string[]

@throws SuiteConfigurationException If `paths` setting is not an array
Returns array of feature paths configured for the provided suite .