abstract_entity
abstract class abstract_entity implements entity_interface
Abstract Base Entity.
Provides shared helpers for rich domain entities, including safe property accessors and JSON serialization bridging.
Methods
mixed
__get(string $name)
Magic getter to allow reading protected properties.
bool
__isset(string $name)
Magic isset to allow checking protected properties.
void
__set(string $name, mixed $value)
Magic setter.
array
jsonSerialize()
Serializes the object to a value that can be natively serialized by json_encode().
Details
at line 39
mixed
__get(string $name)
Magic getter to allow reading protected properties.
at line 55
bool
__isset(string $name)
Magic isset to allow checking protected properties.
at line 66
void
__set(string $name, mixed $value)
Magic setter.
at line 80
array
jsonSerialize()
Serializes the object to a value that can be natively serialized by json_encode().