public function locateFiles(array $bundles, string $environment): array
    {
        $fixtureFiles = array_merge(
            ...array_map(
                function (string $rootDir) use ($environment): array {
                    return $this->doLocateFiles($rootDir, $environment);
                },
                $this->rootDirs
            ),
            ...array_map(
                function (BundleInterface $bundle) use ($environment): array {
                    return $this->doLocateFiles($bundle->getPath(), $environment);
                },
                $bundles
            )
        );

        return $fixtureFiles;
    }
public function locateFiles(array $bundles, string $environment): array
    {
        $fixtureFiles = array_merge(
            ...array_map(
                function (string $rootDir) use ($environment): array {
                    return $this->doLocateFiles($rootDir, $environment);
                },
                $this->rootDirs
            ),
            ...array_map(
                function (BundleInterface $bundle) use ($environment): array {
                    return $this->doLocateFiles($bundle->getPath(), $environment);
                },
                $bundles
            )
        );

        return $fixtureFiles;
    }
public function locateFiles ( array $ bundles , string $ environment ) : array { $ fixtureFiles = array_merge ( ... array_map ( function ( string $ rootDir ) use ( $ environment ) : array { return $ this -> doLocateFiles ( $ rootDir , $ environment ) ; } , $ this -> rootDirs ) , ... array_map ( function ( BundleInterface $ bundle ) use ( $ environment ) : array { return $ this -> doLocateFiles ( $ bundle -> getPath ( ) , $ environment ) ; } , $ bundles ) ) ; return $ fixtureFiles ; }
Locates fixture files found inside a folder matching the environment name.

For example, if the given fixture path is 'Resources/fixtures', it will try to locate
the files in the 'Resources/fixtures/dev' for each bundle passed ('dev' being the
environment).

{@inheritdoc}
Locates fixture files found inside a folder matching the environment name .