class
Illuminate
/
Container
/
RewindableGenerator
RewindableGenerator
Implements
Properties
protected
$generator callable
The generator callback.
Default: null
protected
$count callable|int
The number of tagged services.
Default: null
Methods
public
__construct ( callable $generator , $count ) : void
Create a new generator instance.
Parameters
- $generator callable
- $count callable|int
public
count ( ) : int
Get the total number of tagged services.