trait
Illuminate
/
Queue
/
SerializesAndRestoresModelIdentifiers
You are viewing an older version of the documentation. For the latest, please visit master documentation.
SerializesAndRestoresModelIdentifiers
Methods
protected
getSerializedPropertyValue ( $value ) : mixed
Get the property value prepared for serialization.
Parameters
- $value mixed
protected
getRestoredPropertyValue ( $value ) : mixed
Get the restored property value after deserialization.
Parameters
- $value mixed
protected
restoreCollection ( $value ) : Collection
Restore a queueable collection instance.
Parameters
- $value ModelIdentifier
public
restoreModel ( $value ) : Model
Restore the model from the model identifier instance.
Parameters
- $value ModelIdentifier