Cursor
Cursor.php
:
17
Class represents pagination cursor.
Methods¶
__toString() ¶
Cursor.php
:
56
|
|
Return values
string
fromEvent() ¶
Cursor.php
:
70
Creates cursor from given $event.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$event | Event | - | - |
Return values
fromString() ¶
Cursor.php
:
84
Creates cursor from given $string.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$string | string | - | - |
Return values
getDateTime() ¶
Cursor.php
:
41
|
|
Return values
DateTimeInterface
getEventId() ¶
Cursor.php
:
46
|
|
Return values
string
getEventType() ¶
Cursor.php
:
51
|
|
Return values
string