belvg/generator-collection

1.2.0 2023-02-24 06:23 UTC

This package is not auto-updated.

Last update: 2024-02-23 10:50:26 UTC


README

How to use:

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