migrations
migrations copied to clipboard
Doubt about MigratorConfiguration [EDIT]
| Q | A |
|---|---|
| Version | any |
Support Question
Hello, i was trying to find an answer for a question i have for many days. If i'm breaking any rule, you can close topic. 😄 My question is why Doctrine\Migrations\MigratorConfiguration is marked as @internal, why? If i want to use my own implementation of Migrate i need to initialise that class.
$factory = new DependencyFactory(); // ... wherever
$migrator = $factory->getMigrator();
return $migrator->migrate($plan, new MigratorConfiguration());
There are valid reason about it? Probably i'm missing something, if so, i'm sorry.
👀 21 Aug 2023.
Sorry, I don't understand your question. I don't see how the code block you are including illustrates your issue.