PHP Class Eloquent\Phony\Call\Event\ProducedEvent

Inheritance: extends AbstractCallEvent, implements IterableEvent
ファイルを表示 Open project: eloquent/phony

Public Methods

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

Method Details

__construct() public method

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

key() public method

Get the produced key.
public key ( ) : mixed
return mixed The produced key.

value() public method

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