EventContext extends Context
Table of Contents
Properties
- $location : mixed|string|null
- $section : Section|null
- $sectionConnections : SectionConnection|null
- $server : mixed|null
- $sync : mixed|null
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : mixed
- __set() : mixed
- add() : $this
- you should add property e.g. you should add service data
- getByKey() : mixed
- getEventConnection() : EventConnection|null
- getSectionConnection() : SectionConnection|null
- merge() : $this
- merge Context
- setEventConnection() : EventContext
- setSectionConnection() : EventContext
Properties
$location
public
mixed|string|null
$location
$section
public
Section|null
$section
$sectionConnections
public
SectionConnection|null
$sectionConnections
$server
public
mixed|null
$server
$sync
public
mixed|null
$sync
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
__isset()
public
__isset(mixed $name) : mixed
Parameters
- $name : mixed
__set()
public
__set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
add()
you should add property e.g. you should add service data
public
add(string $type, string $property, mixed $value) : $this
Parameters
- $type : string
- $property : string
- $value : mixed
Return values
$thisgetByKey()
public
getByKey(string $key) : mixed
Parameters
- $key : string
getEventConnection()
public
getEventConnection() : EventConnection|null
Return values
EventConnection|nullgetSectionConnection()
public
getSectionConnection() : SectionConnection|null
Return values
SectionConnection|nullmerge()
merge Context
public
merge(Context $context) : $this
Parameters
- $context : Context
Return values
$thissetEventConnection()
public
setEventConnection(EventConnection|null $eventConnection) : EventContext
Parameters
- $eventConnection : EventConnection|null
Return values
EventContextsetSectionConnection()
public
setSectionConnection(SectionConnection|null $sectionConnection) : EventContext
Parameters
- $sectionConnection : SectionConnection|null