CollectionTrait
Trait CollectionTrait
Table of Contents
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
Methods
jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.