Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector
ExceptionDataCollector.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ExceptionDataCollector
extends DataCollector
{
- // Inherited members from DataCollector
- protected $data;
- // methods
- public void collect()
- public Boolean hasException()
- public Exception getException()
- public string getMessage()
- public integer getCode()
- public integer getStatusCode()
- public array getTrace()
- public void getName()
- // Inherited methods from DataCollector
- public void serialize()
- public void unserialize()
- protected string varToString()
Hierarchy
Members
protected
- $data
Methods
public
- collect() — {@inheritdoc}
- getCode() — Gets the exception code.
- getException() — Gets the exception.
- getMessage() — Gets the exception message.
- getName() — {@inheritdoc}
- getStatusCode() — Gets the status code.
- getTrace() — Gets the exception trace.
- hasException() — Checks if the exception is not null.
Inherited from Symfony\Component\HttpKernel\DataCollector\DataCollector
protected
- varToString() — Converts a PHP variable to a string.