Copied!

Cursor

Cursor.php : 17

Class represents pagination cursor.

Methods

public__toString()

Cursor.php : 56
public __toString() : string

Return values

string

publicfromEvent()

Cursor.php : 70

Creates cursor from given $event.

public static fromEvent(Event $event) : Cursor

Parameters

Name Type Default value Description
$event Event - -

Return values

Cursor

publicfromString()

Cursor.php : 84

Creates cursor from given $string.

public static fromString(string $string) : Cursor

Parameters

Name Type Default value Description
$string string - -

Return values

Cursor

publicgetDateTime()

Cursor.php : 41
public getDateTime() : DateTimeInterface

Return values

DateTimeInterface

publicgetEventId()

Cursor.php : 46
public getEventId() : string

Return values

string

publicgetEventType()

Cursor.php : 51
public getEventType() : string

Return values

string