belvg/generator-collection

1.2.0 2023-02-24 06:23 UTC

This package is not auto-updated.

Last update: 2024-11-01 13:46:19 UTC


README

How to use:

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