Context
Tags
Table of Contents
Properties
- $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
- merge() : $this
- merge Context
Properties
$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
merge()
merge Context
public
merge(Context $context) : $this
Parameters
- $context : Context