mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-26 03:01:23 +02:00
docs: addException => addThrowable (#419)
ExceptionsCollector->addException() is deprecated since #281.
This commit is contained in:
committed by
Barry vd. Heuvel
parent
e9d3263a1c
commit
2a95c20da4
@@ -59,7 +59,7 @@ Display exceptions
|
|||||||
try {
|
try {
|
||||||
throw new Exception('foobar');
|
throw new Exception('foobar');
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$debugbar['exceptions']->addException($e);
|
$debugbar['exceptions']->addThrowable($e);
|
||||||
}
|
}
|
||||||
|
|
||||||
## PDO
|
## PDO
|
||||||
|
Reference in New Issue
Block a user