trait
Illuminate
/
Queue
/
SerializesAndRestoresModelIdentifiers
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
SerializesAndRestoresModelIdentifiers
Methods
protected
getSerializedPropertyValue ( $value , $withRelations ) : mixed
Get the property value prepared for serialization.
Parameters
- $value mixed
- $withRelations bool
protected
getRestoredPropertyValue ( $value ) : mixed
Get the restored property value after deserialization.
Parameters
- $value mixed
protected
restoreCollection ( $value ) : Illuminate\...\Collection
Restore a queueable collection instance.
Parameters
- $value ModelIdentifier
public
restoreModel ( $value ) : Model
Restore the model from the model identifier instance.
Parameters
- $value ModelIdentifier