54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
|
name: SerializesModels
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: WithoutRelations
|
||
|
type: class
|
||
|
source: Illuminate\Queue\Attributes\WithoutRelations
|
||
|
- name: ReflectionClass
|
||
|
type: class
|
||
|
source: ReflectionClass
|
||
|
- name: ReflectionProperty
|
||
|
type: class
|
||
|
source: ReflectionProperty
|
||
|
- name: SerializesAndRestoresModelIdentifiers
|
||
|
type: class
|
||
|
source: SerializesAndRestoresModelIdentifiers
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: __serialize
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Prepare the instance values for serialization.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return array'
|
||
|
- name: __unserialize
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: values
|
||
|
comment: '# * Restore the model after serialization.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param array $values
|
||
|
|
||
|
# * @return void'
|
||
|
- name: getPropertyValue
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: property
|
||
|
comment: '# * Get the property value for the given property.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \ReflectionProperty $property
|
||
|
|
||
|
# * @return mixed'
|
||
|
traits:
|
||
|
- Illuminate\Queue\Attributes\WithoutRelations
|
||
|
- ReflectionClass
|
||
|
- ReflectionProperty
|
||
|
- SerializesAndRestoresModelIdentifiers
|
||
|
interfaces: []
|