Class

ezpRestDebugPHPFormatter

class ezpRestDebugPHPFormatter implements ezcDebugOutputFormatter

File containing ezpRestDebugPHPFormatter class

Methods

__construct()

Constructor

string generateOutput(array $writerData, array $timerData)

Returns a string containing the formatted output based on $timerData and $writerData.

array getLog(array $writerData)

Returns a PHP array containing the output based on $writerData.

array(stdClass) getTimingsAccumulator(array $timerData)

Returns a PHP array containing stdClass objects, based on $timerData.

string formatStackTrace(ezcDebugStacktraceIterator $stackTrace)

Returns a PHP array representation of the given $stackTrace.

Details

at line 15
public __construct()

Constructor

at line 27
public string generateOutput(array $writerData, array $timerData)

Returns a string containing the formatted output based on $timerData and $writerData.

Parameters

array $writerData
array $timerData

Return Value

string

at line 41
public array getLog(array $writerData)

Returns a PHP array containing the output based on $writerData.

Parameters

array $writerData

Return Value

array

at line 64
public array(stdClass) getTimingsAccumulator(array $timerData)

Returns a PHP array containing stdClass objects, based on $timerData.

Parameters

array $timerData

Return Value

array(stdClass)

at line 189
public string formatStackTrace(ezcDebugStacktraceIterator $stackTrace)

Returns a PHP array representation of the given $stackTrace.

Iterates through the given $stackTrace and returns an HTML formatted string representation.

Parameters

ezcDebugStacktraceIterator $stackTrace

Return Value

string