trait SerializesModels (Voir la source)

Méthodes

array
__serialize()

Prepare the instance values for serialization.

void
__unserialize(array $values)

Restore the model after serialization.

mixed
getPropertyValue(ReflectionProperty $property)

Get the property value for the given property.

Détails

array __serialize()

Prepare the instance values for serialization.

Valeur de retour

array

void __unserialize(array $values)

Restore the model after serialization.

Paramètres

array $values

Valeur de retour

void

protected mixed getPropertyValue(ReflectionProperty $property)

Get the property value for the given property.

Paramètres

ReflectionProperty $property

Valeur de retour

mixed