PHP Class Eloquent\Phony\Call\Event\ReceivedEvent

Inheritance: extends AbstractCallEvent, implements IterableEvent
Show file Open project: eloquent/phony

Public Methods

Method Description
__construct ( integer $sequenceNumber, float $time, mixed $value ) Construct a 'received' event.
value ( ) : mixed Get the received value.

Method Details

__construct() public method

Construct a 'received' event.
public __construct ( integer $sequenceNumber, float $time, mixed $value )
$sequenceNumber integer The sequence number.
$time float The time at which the event occurred, in seconds since the Unix epoch.
$value mixed The received value.

value() public method

Get the received value.
public value ( ) : mixed
return mixed The received value.