trait Illuminate / Queue / SerializesModels
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

SerializesModels

Methods

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