1 | <?php |
||
17 | final class EnvironmentlessFilesLocator implements FixtureLocatorInterface |
||
18 | { |
||
19 | use IsAServiceTrait; |
||
20 | |||
21 | private $fixtureLocator; |
||
22 | |||
23 | public function __construct(FixtureLocatorInterface $fixtureLocator) |
||
27 | |||
28 | /** |
||
29 | * Locate fixture files found matching the environment name. |
||
30 | * |
||
31 | * For example, if the given fixture path is 'Resources/fixtures', it will try to locate |
||
32 | * the files in the 'Resources/fixtures/*.dev.yml' for each bundle passed ('dev' being the |
||
33 | * environment). |
||
34 | * |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function locateFiles(array $bundles, string $environment): array |
||
44 | } |
||
45 |