Documentation

Server
in package

Table of Contents

Properties

$isRunning  : mixed
$lastId  : mixed

Methods

__construct()  : mixed
__destruct()  : mixed
dispatchEvent()  : mixed
fetchLastEvent()  : mixed
fetchNewEvents()  : iterable<string|int, mixed>
getStream()  : mixed
init()  : mixed
startRunning()  : mixed
stopRunning()  : mixed

Properties

$isRunning

public mixed $isRunning = false

Methods

__construct()

public __construct([mixed $tableName = 'temp' ][, mixed $dbName = 'sse' ]) : mixed
Parameters
$tableName : mixed = 'temp'
$dbName : mixed = 'sse'

__destruct()

public __destruct() : mixed

dispatchEvent()

public dispatchEvent(mixed $type, mixed $data) : mixed
Parameters
$type : mixed
$data : mixed

fetchLastEvent()

public fetchLastEvent() : mixed

fetchNewEvents()

public fetchNewEvents(mixed $lastId) : iterable<string|int, mixed>
Parameters
$lastId : mixed
Return values
iterable<string|int, mixed>

getStream()

public getStream() : mixed

init()

public init([mixed $lastId = null ]) : mixed
Parameters
$lastId : mixed = null

startRunning()

public startRunning() : mixed

stopRunning()

public stopRunning() : mixed

        
On this page

Search results