Jsonable
interface Jsonable (View source)
Contract to define a "Jsonable" object that can be converted to a JSON string.
Methods
string
toJson(int $options = 0)
Convert the object to its JSON representation.
Details
string
toJson(int $options = 0)
Convert the object to its JSON representation.