Class Object
Together with the ICanBoogie\Prototype
class the ICanBoogie\Object
class provides means to
define getters and setters, as well as define getters, setters, and method at runtime.
The class also provides a method to create instances in the same fashion PDO creates instances
with the FETCH_CLASS
mode, that is the properties of the instance are set before its
constructor is invoked.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait (not available) ICanBoogie\PrototypeTrait
Methods summary
public static
mixed
|
|
public
array
|
|
public
string
|
Methods used from ICanBoogie\PrototypeTrait
__call()
,
__sleep()
,
accessor_get()
,
accessor_set()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Properties summary
Magic properties
public read-only
|
$prototype
The prototype associated with the class. |