-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORMExecutor->execute expects diffrented class than Loader->getFixures() returns #414
Comments
|
Hard to tell where without the source code of |
@greg0ire this is what the class looks like: xxx
protected function refreshFixtures(): void
{
$loader = new Doctrine\Common\DataFixtures\Loader();
$fixture = new CustomFixture();
$fixture->setContainer($this->getKernelBrowser()->getContainer());
$loader->addFixture($fixture);
$purger = new Doctrine\Common\DataFixtures\Purger\ORMPurger();
$executor = new Doctrine\Common\DataFixtures\Executor\ORMExecutor($this->getEntityManager(), $purger);
$executor->execute($loader->getFixtures());
} |
Ok, so the issue is with
Do you feel up to making it more precise? Kind of makes me wonder why |
Yes i think its in the I saw docs updates where done in #389 but they made it consistent with the property |
Haha fair, i didn't look that fair back ;p |
I get the following error from latest versions:
I think it could be resolved if
OrderedFixtureInterface
extends fromFixtureInterface
The text was updated successfully, but these errors were encountered: