Response
extends Response
in package
Response handler, makes building responses easier
Table of Contents
- asHtml() : self
- Set the response type to html
- asJson() : self
- Easily set the response to json
- redirectBack() : self
- Redirect back to the sending URL
- send() : mixed
Methods
asHtml()
Set the response type to html
public
asHtml() : self
Return values
self —asJson()
Easily set the response to json
public
asJson() : self
Return values
self —redirectBack()
Redirect back to the sending URL
public
redirectBack() : self
Return values
self —send()
public
send() : mixed