Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Document how to use an Iterator object with @dataProvider #140

Closed
adamgoucher opened this Issue · 1 comment

2 participants

@adamgoucher

The docs for @dataProvider says that the providing function can return either and array of array or a object that implements the Iterator interface. However, this appears to be completely undocumented. It would be nice to have an example of this using either a CSV file or database connection.

@sebastianbergmann

Added in sebastianbergmann/phpunit-documentation@ce8b14d

In the future, please open documentation issues under the phpunit-documentation project. Thanks!

This issue was closed.
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.