SerializableObjectTrait
trait SerializableObjectTrait
Methods
No description
Optional: Called before serialization (e.g. to remember/convert an unserializable prop)
Optional: Called after unserialize (e.g. load from db / recover or connect resource)
No description
Optional: Override this method and specify the properties to include during serialize null = All Properties will be serialized (default) [] = No Properties will be serialized ['id'] = $this->id will be serialized
No description
Details
at line 16
array
jsonSerialize()
No description
at line 219
void
onSerialize()
Optional: Called before serialization (e.g. to remember/convert an unserializable prop)
at line 225
void
onUnserialize()
Optional: Called after unserialize (e.g. load from db / recover or connect resource)
at line 24
SerializedObjectHelper
serializeObject()
No description
at line 212
protected array|null
serializePropertiesInclude()
Optional: Override this method and specify the properties to include during serialize null = All Properties will be serialized (default) [] = No Properties will be serialized ['id'] = $this->id will be serialized
at line 90
static object
unserializeObject(SerializedObjectHelper $SerializedObjectHelper)
No description
at line 121
static object
unserializeObjectFromJSON(string $json)
No description