Method | Description | |
---|---|---|
__construct ( |
Construct a new iterable spy factory. | |
create ( Eloquent\Phony\Call\Call $call, Traversabl\Traversable | array $iterable ) : Traversable | Create a new iterable spy. | |
instance ( ) : |
Get the static instance of this factory. |
public __construct ( |
||
$callEventFactory | The call event factory to use. |
public create ( Eloquent\Phony\Call\Call $call, Traversabl\Traversable | array $iterable ) : Traversable | ||
$call | Eloquent\Phony\Call\Call | The call from which the iterable originated. |
$iterable | Traversabl\Traversable | array | The iterable. |
return | Traversable | The newly created iterable spy. |
public static instance ( ) : |
||
return | The static factory. |