belvg/generator-collection

N/A

Maintainers

Package info

github.com/Galillei/collectiongenerator

Issues

pkg:composer/belvg/generator-collection

Statistics

Installs: 1 372

Dependents: 0

Suggesters: 0

Stars: 0

1.2.0 2023-02-24 06:23 UTC

This package is not auto-updated.

Last update: 2026-03-06 20:01:31 UTC


README

How to use:

  protected function initiateGeneratorCollection(
        AbstractCollection $collection,
        int $batch = 1000
    ): GeneratorCollection {
        return $this->generatorCollectionFactory->create([
            'collection' => $collection,
            'batch' => $batch,
        ]);
    }