\Yansongda\Supports\TraitsSerializable

Summary

Methods
Properties
Constants
toJson()
jsonSerialize()
serialize()
unserialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

toJson()

toJson() : string

toJson.

Returns

string —

jsonSerialize()

jsonSerialize() : mixed

Specify data which should be serialized to JSON.

Returns

mixed —

data which can be serialized by json_encode, which is a value of any type other than a resource

serialize()

serialize() : string

String representation of object.

Returns

string —

the string representation of the object or null

unserialize()

unserialize(string  $serialized) : mixed

Constructs the object.

Parameters

string $serialized

The string representation of the object.

Returns

mixed —