SerializableFieldsTrait
Provides common serialization functionality to fields
- Full name:
\Ramsey\Uuid\Fields\SerializableFieldsTrait
Methods
__construct
- This method is abstract.
Parameters:
Parameter | Type | Description |
---|---|---|
$bytes |
string | The bytes that comprise the fields |
getBytes
Returns the bytes that comprise the fields
- This method is abstract.
serialize
Returns a string representation of object
__serialize
unserialize
Constructs the object from a serialized string representation
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
string | The serialized string representation of the object |
__unserialize
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
array{bytes?: string} |
Automatically generated on 2025-03-18