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

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

No description

Parameters

string $name
array $args

Exceptions

MemberAccessException

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

No description

Parameters

string $name
array $args

Exceptions

MemberAccessException

at line 60
mixed __get(string $name)

No description

Parameters

string $name

Return Value

mixed

Exceptions

MemberAccessException

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

No description

Parameters

string $name
mixed $value

Return Value

void

Exceptions

MemberAccessException

at line 109
void __unset(string $name)

No description

Parameters

string $name

Return Value

void

Exceptions

MemberAccessException

at line 118
bool __isset(string $name)

No description

Parameters

string $name

Return Value

bool