entity
abstract class entity extends abstract_entity
Public SDK Entity.
Extend this class to create rich entities decoupled from Moodle global APIs and infrastructure concerns.
Methods
array
jsonSerialize()
Serializes the object to a value that can be natively serialized by json_encode().
from
abstract_entity
Details
in
abstract_entity at line 39
mixed
__get(string $name)
Magic getter to allow reading protected properties.
in
abstract_entity at line 55
bool
__isset(string $name)
Magic isset to allow checking protected properties.
in
abstract_entity at line 66
void
__set(string $name, mixed $value)
Magic setter.
in
abstract_entity at line 80
array
jsonSerialize()
Serializes the object to a value that can be natively serialized by json_encode().