class RewindableGenerator implements Countable, IteratorAggregate (View source)
| protected callable | $generator | The generator callback. | |
| protected callable|int | $count | The number of tagged services. | 
| void | __construct(callable $generator, callable|int $count) Create a new generator instance. | |
| mixed | getIterator() Get an iterator from the generator. | |
| int | count() Get the total number of tagged services. | 
Create a new generator instance.
Get an iterator from the generator.
Get the total number of tagged services.
    © Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
    https://laravel.com/api/8.x/Illuminate/Container/RewindableGenerator.html