trait 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()

Methods

mixed
__call(string $name, array $args)

No description

static mixed
__callStatic(string $name, array $args)

No description

mixed
__get(string $name)

No description

void
__set(string $name, mixed $value)

No description

void
__unset(string $name)

No description

bool
__isset(string $name)

No description

Details

at line 27
mixed __call(string $name, array $args)

No description

Parameters

string $name
array $args

Return Value

mixed

Exceptions

MemberAccessException

at line 51
static mixed __callStatic(string $name, array $args)

No description

Parameters

string $name
array $args

Return Value

mixed

Exceptions

MemberAccessException

at line 60
mixed __get(string $name)

No description

Parameters

string $name

Return Value

mixed

Exceptions

MemberAccessException

at line 93
void __set(string $name, mixed $value)

No description

Parameters

string $name
mixed $value

Return Value

void

Exceptions

MemberAccessException

at line 125
void __unset(string $name)

No description

Parameters

string $name

Return Value

void

Exceptions

MemberAccessException

at line 134
bool __isset(string $name)

No description

Parameters

string $name

Return Value

bool