Drive Manifold

SerializesCollections

Table of Contents

__serialize()  : array<string|int, mixed>
Prepare the instance values for serialization.
__unserialize()  : void
Restore the model after serialization.
getPropertyValue()  : mixed
Get the property value for the given property.
getRestoredPropertyValue()  : mixed
Get the restored property value.
getSerializedPropertyValue()  : mixed
Get the serialized property value.

Methods

__serialize()

Prepare the instance values for serialization.

public __serialize() : array<string|int, mixed>
Tags
throws
JsonException
Return values
array<string|int, mixed>

__unserialize()

Restore the model after serialization.

public __unserialize(array<string|int, mixed> $values) : void
Parameters
$values : array<string|int, mixed>
Tags
throws
ReflectionException
Return values
void

getPropertyValue()

Get the property value for the given property.

protected getPropertyValue(ReflectionProperty $property) : mixed
Parameters
$property : ReflectionProperty
Return values
mixed

getRestoredPropertyValue()

Get the restored property value.

protected getRestoredPropertyValue(string $property, mixed $value) : mixed
Parameters
$property : string
$value : mixed
Tags
throws
ReflectionException
Return values
mixed

getSerializedPropertyValue()

Get the serialized property value.

protected getSerializedPropertyValue(mixed $value) : mixed
Parameters
$value : mixed
Tags
throws
JsonException
Return values
mixed

Search results