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, $value)

No description

void
__unset(string $name)

No description

bool
__isset(string $name)

No description

Details

at line 28
__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 85
void __set(string $name, $value)

No description

Parameters

string $name
$value

Return Value

void

Exceptions

MemberAccessException

at line 108
void __unset(string $name)

No description

Parameters

string $name

Return Value

void

Exceptions

MemberAccessException

at line 117
bool __isset(string $name)

No description

Parameters

string $name

Return Value

bool