SerializesModels
Table of Contents
- __sleep() : array<string|int, mixed>
- Prepare the instance for serialization.
- __wakeup() : void
- Restore the model after serialization.
- getPropertyValue() : mixed
- Get the property value for the given property.
Methods
__sleep()
Prepare the instance for serialization.
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
Restore the model after serialization.
public
__wakeup() : void
Return values
void —getPropertyValue()
Get the property value for the given property.
protected
getPropertyValue(ReflectionProperty $property) : mixed
Parameters
- $property : ReflectionProperty