20 public function setTtl($ttl = 0);
isCancelled()
Has the response been cancelled?
setTtl($ttl=0)
Set the max-age for client caching.
cancel()
Cancel the response and send a 403 header.
if(!$entity instanceof\ElggUser) $data
setData(\stdClass $data)
Set the response data.
getData()
Get the response data, which will be a stdClass object with property "value".
getTtl()
Get the max-age for client caching.