Метод | Описание | |
---|---|---|
__construct ( array $options = [] ) | ||
__invoke ( |
Handle incomplete requests |
Метод | Описание | |
---|---|---|
create404 ( |
Create a 404 status in the response | |
createDevelopmentErrorMessage ( $error ) | ||
getStatusCode ( mixed $error, |
Determine status code | |
handleError ( mixed $error, |
Handle an error condition | |
triggerError ( mixed $error, |
Trigger the error listener, if present |
public __construct ( array $options = [] ) | ||
$options | array | Options that change default override behavior. |