Skip to content
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

Have the ability to chose any executor in LoadDataFixturesDoctrineCommand #364

Open
BafS opened this issue Jan 28, 2022 · 0 comments
Open

Comments

@BafS
Copy link

BafS commented Jan 28, 2022

Using LoadDataFixturesDoctrineCommand it's possible to choose which purger we want to run (--purger) but that's unfortunately not the possible with the executor; ORMExecutor is hardcoded in the class (https://github.com/doctrine/DoctrineFixturesBundle/blob/3.4.x/Command/LoadDataFixturesDoctrineCommand.php#L154).

I have my own executor because of this issue (PR still open #209), I need to create a new command too, it would be great to have more flexibility.

And because fields are private I can't extends it, I basically need to copy/paste the command to change this line.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant