PHP Class Symfony\Component\Debug\Exception\FlattenException

Basically, this class removes all objects from the trace.
Author: Fabien Potencier ([email protected])
ファイルを表示 Open project: symfony/symfony Class Usage Examples

Public Methods

Method Description
create ( Exception $exception, $statusCode = null, array $headers = [] )
getAllPrevious ( )
getClass ( )
getCode ( )
getFile ( )
getHeaders ( )
getLine ( )
getMessage ( )
getPrevious ( )
getStatusCode ( )
getTrace ( )
setClass ( $class )
setCode ( $code )
setFile ( $file )
setHeaders ( array $headers )
setLine ( $line )
setMessage ( $message )
setPrevious ( FlattenException $previous )
setStatusCode ( $code )
setTrace ( $trace, $file, $line )
setTraceFromException ( Exception $exception )
toArray ( )

Private Methods

Method Description
flattenArgs ( $args, $level, &$count )
getClassNameFromIncomplete ( __PHP_Incomplete_Class $value )

Method Details

create() public static method

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

getAllPrevious() public method

public getAllPrevious ( )

getClass() public method

public getClass ( )

getCode() public method

public getCode ( )

getFile() public method

public getFile ( )

getHeaders() public method

public getHeaders ( )

getLine() public method

public getLine ( )

getMessage() public method

public getMessage ( )

getPrevious() public method

public getPrevious ( )

getStatusCode() public method

public getStatusCode ( )

getTrace() public method

public getTrace ( )

setClass() public method

public setClass ( $class )

setCode() public method

public setCode ( $code )

setFile() public method

public setFile ( $file )

setHeaders() public method

public setHeaders ( array $headers )
$headers array

setLine() public method

public setLine ( $line )

setMessage() public method

public setMessage ( $message )

setPrevious() public method

public setPrevious ( FlattenException $previous )
$previous FlattenException

setStatusCode() public method

public setStatusCode ( $code )

setTrace() public method

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

setTraceFromException() public method

public setTraceFromException ( Exception $exception )
$exception Exception

toArray() public method

public toArray ( )