Method | Description | |
---|---|---|
__construct ( |
Construct a new generator spy factory. | |
create ( Eloquent\Phony\Call\Call $call, Generator $generator ) : Generator | Create a new generator spy. | |
instance ( ) : |
Get the static instance of this factory. |
public __construct ( |
||
$callEventFactory | The call event factory to use. | |
$featureDetector | The feature detector to use. |
public static instance ( ) : |
||
return | The static factory. |