class FlattenException extends FlattenException

FlattenException wraps a PHP Exception to be able to serialize it.

Basically, this class removes all objects from the trace.

Methods

static 
__callStatic($method, $args)

No description

__call($method, $args)

No description

static 
create(Exception $exception, $statusCode = null, array $headers = array())

No description

toArray()

No description

getStatusCode()

No description

setStatusCode($code)

No description

getHeaders()

No description

setHeaders(array $headers)

No description

getClass()

No description

setClass($class)

No description

getFile()

No description

setFile($file)

No description

getLine()

No description

setLine($line)

No description

getMessage()

No description

setMessage($message)

No description

getCode()

No description

setCode($code)

No description

getPrevious()

No description

setPrevious(FlattenException $previous)

No description

getAllPrevious()

No description

getTrace()

No description

setTraceFromException(Exception $exception)

No description

setTrace($trace, $file, $line)

No description

Details

in FlattenException at line line 29
static __callStatic($method, $args)

Parameters

$method
$args

in FlattenException at line line 38
__call($method, $args)

Parameters

$method
$args

at line line 76
static create(Exception $exception, $statusCode = null, array $headers = array())

Parameters

Exception $exception
$statusCode
array $headers

at line line 109
toArray()

at line line 123
getStatusCode()

at line line 128
setStatusCode($code)

Parameters

$code

at line line 133
getHeaders()

at line line 138
setHeaders(array $headers)

Parameters

array $headers

at line line 143
getClass()

at line line 148
setClass($class)

Parameters

$class

at line line 153
getFile()

at line line 158
setFile($file)

Parameters

$file

at line line 163
getLine()

at line line 168
setLine($line)

Parameters

$line

at line line 173
getMessage()

at line line 178
setMessage($message)

Parameters

$message

at line line 183
getCode()

at line line 188
setCode($code)

Parameters

$code

at line line 193
getPrevious()

at line line 198
setPrevious(FlattenException $previous)

Parameters

FlattenException $previous

at line line 203
getAllPrevious()

at line line 214
getTrace()

at line line 219
setTraceFromException(Exception $exception)

Parameters

Exception $exception

at line line 224
setTrace($trace, $file, $line)

Parameters

$trace
$file
$line