JsEvent implements JsonSerializable
FinalYes
Table of Contents
Interfaces
- JsonSerializable
Methods
- __construct() : mixed
- getEvent() : string
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setEvent() : $this
Methods
__construct()
public
__construct(string $event) : mixed
Parameters
- $event : string
getEvent()
public
getEvent() : string
Return values
stringjsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setEvent()
public
setEvent(string $event) : $this
Parameters
- $event : string