class FlattenException
FlattenException wraps a PHP Exception to be able to serialize it.
Basically, this class removes all objects from the trace.
Methods
| static | create(Exception $exception, $statusCode = null, array $headers = array()) | |
| toArray() | ||
| getStatusCode() | ||
| setStatusCode($code) | ||
| getHeaders() | ||
| setHeaders(array $headers) | ||
| getClass() | ||
| setClass($class) | ||
| getFile() | ||
| setFile($file) | ||
| getLine() | ||
| setLine($line) | ||
| getMessage() | ||
| setMessage($message) | ||
| getCode() | ||
| setCode($code) | ||
| getPrevious() | ||
| setPrevious(FlattenException $previous) | ||
| getAllPrevious() | ||
| getTrace() | ||
| setTraceFromException(Exception $exception) | ||
| setTrace($trace, $file, $line) |
Please login to continue.