trait HandlesJsonable mixin Arrayable (View source)

Trait to consolidate functionality of converting a class to JSON representation.

Methods

string
toJson($options = 0)

{@inheritDoc}

Details

string toJson($options = 0)

{@inheritDoc}

Parameters

$options

Return Value

string