3 interface JsonSerializable
6 * Specify data which should be serialized to JSON.
8 * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
10 * @return mixed data which can be serialized by <b>json_encode</b>,
11 * which is a value of any type other than a resource.
15 public function jsonSerialize();