MCPcopy Create free account
hub / github.com/ccoenraets/backbone-cellar / halt

Method halt

tutorial/api/Slim/Slim.php:828–835  ·  view source on GitHub ↗

* Halt * * Halt the application and immediately send an HTTP response with a * specific status code and body. This may be used to send any type of * response: info, success, redirect, client error, or server error. * If you need to render a template AND customize the response status, * you should use Slim::render() instead. * * @param int $

( $status, $message = '')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

notFoundMethod · 0.95
errorMethod · 0.95
lastModifiedMethod · 0.95
etagMethod · 0.95
redirectMethod · 0.95
runMethod · 0.95

Calls 3

stopMethod · 0.95
statusMethod · 0.45
bodyMethod · 0.45

Tested by

no test coverage detected