\CryptoManana\Core\Interfaces\DataStructuresPropertyOverloadingInterface

Interface PropertyOverloadingInterface - Magic methods for property overloading.

Summary

Methods
Constants
__get()
__set()
__isset()
__unset()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

__get()

__get(mixed  $name) : mixed

Magic method invoked when attempting to get the value of an inaccessible or a non-existent property.

Parameters

mixed $name

The property name.

Returns

mixed —

The property value.

__set()

__set(mixed  $name, mixed  $value) 

Magic method invoked when attempting to create or modify of an inaccessible or a non-existent property.

Parameters

mixed $name

The property name.

mixed $value

The property value.

Throws

\Exception

The property does not exist or is from another type.

__isset()

__isset(mixed  $name) : boolean

Magic method invoked when checking of an inaccessible or a non-existent property is set.

Parameters

mixed $name

The property name.

Returns

boolean —

The existence check result.

__unset()

__unset(mixed  $name) 

Magic method invoked when attempting to unset an inaccessible or a non-existent property.

Parameters

mixed $name

The property name.

Throws

\Exception

The object does not allow dynamic property removal.