107 public function isOk();
HTTP response builder interface.
if(!$entity->delete()) $forward_url
getStatusCode()
Returns status code.
isRedirection()
Check if response is redirection.
getContent()
Returns response body.
isNotModified()
Check if response has been modified.
isOk()
Check if response is OK.
isInformational()
Check if response is informational.
isServerError()
Check if response is server error.
isSuccessful()
Check if response is successful.
setException(\Exception $e)
Set an exception for this response.
setStatusCode(int $status_code)
Sets response HTTP status code.
isClientError()
Check if response is client error.
setForwardURL($forward_url=REFERRER)
Sets redirect URL.
getException()
Get the exception for this reponse.
$content
Set robots.txt action.
setHeaders(array $headers=[])
Sets additional response headers.
setContent($content= '')
Sets response body.
getHeaders()
Returns additional response headers.
getForwardURL()
Returns redirect URL.