Method | Description | |
---|---|---|
getArity ( string | callable | object $callable ) : integer | Get the arity of a handler | |
getStatusCode ( mixed $error, Psr\Http\Message\ResponseInterface $response ) : integer | Determine status code from an error and/or response. |
public static getStatusCode ( mixed $error, Psr\Http\Message\ResponseInterface $response ) : integer | ||
$error | mixed | |
$response | Psr\Http\Message\ResponseInterface | |
return | integer |