PHP Class Symfony\Component\HttpKernel\Exception\FlattenException

Basically, this class removes all objects from the trace.
Deprecation: Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead.
Author: Fabien Potencier ([email protected])
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Property Type Description
$class
$code
$message
$previous
$status
$trace

Public Methods

Method Description
create ( Exception $exception )
getClass ( )
getCode ( )
getMessage ( )
getPrevious ( )
getPreviouses ( )
getStatusCode ( )
getStatusText ( )
getTrace ( )
setClass ( $class )
setCode ( $code )
setMessage ( $message )
setPrevious ( FlattenException $previous )
setStatusCode ( $status )
setTrace ( $trace, $file, $line )
toArray ( )

Protected Methods

Method Description
flattenArgs ( $args )

Method Details

create() public static method

public static create ( Exception $exception )
$exception Exception

flattenArgs() protected method

protected flattenArgs ( $args )

getClass() public method

public getClass ( )

getCode() public method

public getCode ( )

getMessage() public method

public getMessage ( )

getPrevious() public method

public getPrevious ( )

getPreviouses() public method

public getPreviouses ( )

getStatusCode() public method

public getStatusCode ( )

getStatusText() public method

public getStatusText ( )

getTrace() public method

public getTrace ( )

setClass() public method

public setClass ( $class )

setCode() public method

public setCode ( $code )

setMessage() public method

public setMessage ( $message )

setPrevious() public method

public setPrevious ( FlattenException $previous )
$previous FlattenException

setStatusCode() public method

public setStatusCode ( $status )

setTrace() public method

public setTrace ( $trace, $file, $line )

toArray() public method

public toArray ( )

Property Details

$class protected property

protected $class

$code protected property

protected $code

$message protected property

protected $message

$previous protected property

protected $previous

$status protected property

protected $status

$trace protected property

protected $trace