$content
Set robots.txt action.
if(! $entity->delete(true, true)) $forward_url
Exception thrown if an argument is not of the expected type.
Exception thrown to indicate range errors during program execution.
const REFERRER
Used in calls to forward() to specify the browser should be redirected to the referring page.
HTTP response builder interface.
isRedirection()
Check if response is redirection.
setHeaders(array $headers=[])
Sets additional response headers.
isSuccessful()
Check if response is successful.
getContent()
Returns response body.
isInformational()
Check if response is informational.
getException()
Get the exception for this reponse.
getStatusCode()
Returns status code.
setException(\Exception $e)
Set an exception for this response.
isOk()
Check if response is OK.
setStatusCode(int $status_code)
Sets response HTTP status code.
setContent($content='')
Sets response body.
setForwardURL(string $forward_url=REFERRER)
Sets redirect URL.
getHeaders()
Returns additional response headers.
getForwardURL()
Returns redirect URL.
isNotModified()
Check if response has been modified.
isServerError()
Check if response is server error.
isClientError()
Check if response is client error.