1 | <?php |
||
20 | final class EnvironmentlessFilesLocator implements FixtureLocatorInterface |
||
21 | { |
||
22 | use NotClonableTrait; |
||
23 | |||
24 | /** |
||
25 | * @var FixtureLocatorInterface |
||
26 | */ |
||
27 | private $fixtureLocator; |
||
28 | |||
29 | public function __construct(FixtureLocatorInterface $fixtureLocator) |
||
33 | |||
34 | /** |
||
35 | * Locate fixture files found matching the environment name. |
||
36 | * |
||
37 | * For example, if the given fixture path is 'Resources/fixtures', it will try to locate |
||
38 | * the files in the 'Resources/fixtures/*.dev.yml' for each bundle passed ('dev' being the |
||
39 | * environment). |
||
40 | * |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function locateFiles(array $bundles, string $environment): array |
||
50 | } |
||
51 |