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 
__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 28
mixed __call(string $name, array $args)

No description

Parameters

string $name
array $args

Return Value

mixed

Exceptions

MemberAccessException

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

No description

Parameters

string $name
array $args

Exceptions

MemberAccessException

at line 62
mixed __get(string $name)

No description

Parameters

string $name

Return Value

mixed

Exceptions

MemberAccessException

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

No description

Parameters

string $name
mixed $value

Return Value

void

Exceptions

MemberAccessException

at line 127
void __unset(string $name)

No description

Parameters

string $name

Return Value

void

Exceptions

MemberAccessException

at line 136
bool __isset(string $name)

No description

Parameters

string $name

Return Value

bool