Method |
Description |
|
__construct ( array $events, CallVerifierFactory $callVerifierFactory ) |
Construct a new event sequence. |
|
allCalls ( ) : array |
Get all calls as an array. |
|
allEvents ( ) : array |
Get all events as an array. |
|
callAt ( integer $index ) : Eloquent\Phony\Call\Call |
Get a call by index. |
|
callCount ( ) : integer |
Get the number of calls. |
|
count ( ) : integer |
Get the event count. |
|
eventAt ( integer $index ) : Eloquent\Phony\Event\Event |
Get an event by index. |
|
eventCount ( ) : integer |
Get the number of events. |
|
firstCall ( ) : Eloquent\Phony\Call\Call |
Get the first call. |
|
firstEvent ( ) : Eloquent\Phony\Event\Event |
Get the first event. |
|
getIterator ( ) : Iterator |
Get an iterator for this collection. |
|
hasCalls ( ) : boolean |
Returns true if this collection contains any calls. |
|
hasEvents ( ) : boolean |
Returns true if this collection contains any events. |
|
lastCall ( ) : Eloquent\Phony\Call\Call |
Get the last call. |
|
lastEvent ( ) : Eloquent\Phony\Event\Event |
Get the last event. |
|