PHP 클래스 Eloquent\Phony\Event\AbstractEvent

상속: implements Eloquent\Phony\Event\Event
파일 보기 프로젝트 열기: eloquent/phony

공개 메소드들

메소드 설명
__construct ( integer $sequenceNumber, float $time ) Construct a new event.
sequenceNumber ( ) : integer Get the sequence number.
time ( ) : float Get the time at which the event occurred.

메소드 상세

__construct() 공개 메소드

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

sequenceNumber() 공개 메소드

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
리턴 integer The sequence number.

time() 공개 메소드

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