Method | Description | |
---|---|---|
createGeneratorSpy ( Eloquent\Phony\Call\Call $call, Generator $generator, |
Create a new generator spy. |
public static createGeneratorSpy ( Eloquent\Phony\Call\Call $call, Generator $generator, |
||
$call | Eloquent\Phony\Call\Call | The call from which the generator originated. |
$generator | Generator | The generator. |
$callEventFactory | The call event factory to use. | |
return | Generator | The newly created generator spy. |