Overview
public any function setRenderer(
required string renderer
)
Sets the renderer of the response and returns reference to self so that methods can be chained.
Arguments
Name | Type | Required | Description |
---|
renderer | string | Yes | renderer for the response, e.g. 'json' |