interface Jsonable (View source)
string | toJson(int $options = 0) Convert the object to its JSON representation. |
Convert the object to its JSON representation.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Contracts/Support/Jsonable.html