belvg/generator-collection

1.2.0 2023-02-24 06:23 UTC

This package is not auto-updated.

Last update: 2024-12-27 14:41:16 UTC


README

How to use:

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