class ExceptionDataCollector extends DataCollector
ExceptionDataCollector.
serialize() | from DataCollector | |
unserialize($data) | from DataCollector | |
collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. | ||
bool | hasException() Checks if the exception is not null. | |
Exception | getException() Gets the exception. | |
string | getMessage() Gets the exception message. | |
int | getCode() Gets the exception code. | |
int | getStatusCode() Gets the status code. | |
array | getTrace() Gets the exception trace. | |
string | getName() Returns the name of the collector. |
Collects data for the given Request and Response.
Checks if the exception is not null.
Gets the exception.
Gets the exception message.
Gets the exception code.
Gets the status code.
Gets the exception trace.
Returns the name of the collector.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/HttpKernel/DataCollector/ExceptionDataCollector.html