SmartObject
Strict class for better experience.
- 'did you mean' hints
- access to undeclared members throws exceptions
- support for @property annotations
- support for calling event handlers stored in $onEvent via onEvent()
Table of Contents
Methods
- __call() : mixed
- __callStatic() : mixed
- __get() : mixed
- __isset() : bool
- __set() : void
- __unset() : void
Methods
__call()
public
__call(string $name, array<string|int, mixed> $args) : mixed
Parameters
- $name : string
- $args : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(string $name, array<string|int, mixed> $args) : mixed
Parameters
- $name : string
- $args : array<string|int, mixed>
Tags
__get()
public
& __get(string $name) : mixed
Parameters
- $name : string
Tags
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__set()
public
__set(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
Tags
__unset()
public
__unset(string $name) : void
Parameters
- $name : string