trait Illuminate / Queue / SerializesModels
You are viewing an older version of the documentation. For the latest, please visit master documentation.

SerializesModels

Methods

public

__sleep ( ) : array

Prepare the instance for serialization.

public

__wakeup ( ) : void

Restore the model after serialization.

public

__serialize ( ) : array

Prepare the instance values for serialization.

public

__unserialize ( array $values ) : void

Restore the model after serialization.

Parameters

  • $values array
protected

getPropertyValue ( ReflectionProperty $property ) : mixed

Get the property value for the given property.

Parameters