Skip to content


add loadFromFile() method to Doctrine\Common\DataFixtures\Loader #40

Shreef opened this Issue · 2 comments

3 participants


I was trying to load one Fixture file, but I didn't find a way to do this. currently Doctrine\Common\DataFixtures\Loader has only loadFromDirectory() method. we can refactor part of it and put it into another method to allow loading from files.

if you don't have a reason that can stop us from having a loadFromFile() method, just inform me and I will start working on the refactoring and will send you a pull request.

I need this to update DoctrineFixturesBundle to be able to load from files too.



A pull request exists for this now: #79

Doctrine member

It was merged, this issue can be closed.

@lavoiesl lavoiesl closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.