No methods for this task.
Other Methods
Other Methods
- public function __construct($object)
- protected function didRewind()
- public function key()
- protected function loadPage()
Iterate over every object of a given type, without holding all of them in memory. This is useful for performing database migrations.
$things = new LiskMigrationIterator(new LiskThing());
foreach ($things as $thing) {
// do something
}| LiskDAO | $object |
| this | //Implicit.// |
| wild |
| wild |
| wild |