Documentation

EventSource
in package
implements EventSourceInterface

Table of Contents

Interfaces

EventSourceInterface

Properties

$datas  : mixed
$event  : mixed
$id  : mixed
$time  : mixed

Methods

__construct()  : mixed
EventSource constructor.
eventStreamFormat()  : string
setEvent()  : self
setId()  : self
setTime()  : self

Properties

Methods

__construct()

EventSource constructor.

public __construct(mixed $datas) : mixed
Parameters
$datas : mixed

eventStreamFormat()

public eventStreamFormat() : string
Return values
string

setEvent()

public setEvent(mixed $event) : self
Parameters
$event : mixed
Return values
self

setId()

public setId(mixed $id) : self
Parameters
$id : mixed
Return values
self

setTime()

public setTime(mixed $time) : self
Parameters
$time : mixed
Return values
self

        
On this page

Search results