PHP Interface Eloquent\Phony\Event\Event

Show file Open project: eloquent/phony

Public Methods

Method Description
sequenceNumber ( ) : integer Get the sequence number.
time ( ) : float Get the time at which the event occurred.

Method Details

sequenceNumber() public method

The sequence number is a unique number assigned to every event that Phony records. The numbers are assigned sequentially, meaning that sequence numbers can be used to determine event order.
public sequenceNumber ( ) : integer
return integer The sequence number.

time() public method

Get the time at which the event occurred.
public time ( ) : float
return float The time at which the event occurred, in seconds since the Unix epoch.