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

Add a method to load fixtures from a single file #106

Closed
wants to merge 1 commit into from

Conversation

bobey
Copy link

@bobey bobey commented Jul 24, 2013

I can't find a way to load fixtures from a given file through DoctrineFixturesBundle.
This is the first step to allow it with LoadDataFixturesDoctrineCommand.

* @param $iterator \Iterator
* @return array $fixtures Array of loaded fixture object instances
*/
private function load($iterator)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should typehint the argument as \Traversable

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@bobey
Copy link
Author

bobey commented Sep 20, 2013

Any update on this one?

@stof
Copy link
Member

stof commented Sep 20, 2013

As the library is being rewritten from scratch for 2.0 (see the dedicated branch and #89 for the discussion), I'm not sure it makes sense to merge such new feature in 1.x now.

@lavoiesl
Copy link
Member

Fixed by #79

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

Successfully merging this pull request may close these issues.

None yet

3 participants