\Ceo\HttpResponse

Response handler, makes building responses easier

Summary

Methods
Properties
Constants
send()
redirectBack()
asJson()
asHtml()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

send()

send() 

redirectBack()

redirectBack() : self

Redirect back to the sending URL

Returns

self

asJson()

asJson() : self

Easily set the response to json

Returns

self

asHtml()

asHtml() : self

Set the response type to html

Returns

self