inheritEnvironmentVariables() ->mustRun(); } public function seedFixtures(EntityManagerInterface $em, array $config): void { $paths = $config['paths'] ?? []; if (empty($paths)) { return; } $loader = new Loader(); foreach ($paths as $path) { $loader->loadFromDirectory($path); } $executor = new ORMExecutor($em, new ORMPurger()); $executor->execute($loader->getFixtures()); } }