mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-25 02:31:25 +02:00
Update ExceptionsCollector.php
This commit is contained in:
@@ -15,7 +15,7 @@ use Exception;
|
||||
/**
|
||||
* Collects info about exceptions
|
||||
*/
|
||||
class ExceptionsCollector extends DataCollector implements Renderable
|
||||
class ExceptionsCollector extends DataCollector implements Renderable, Resettable
|
||||
{
|
||||
protected $exceptions = array();
|
||||
protected $chainExceptions = false;
|
||||
@@ -53,6 +53,11 @@ class ExceptionsCollector extends DataCollector implements Renderable
|
||||
return $this->exceptions;
|
||||
}
|
||||
|
||||
public function reset()
|
||||
{
|
||||
$this->exceptions = array();
|
||||
}
|
||||
|
||||
public function collect()
|
||||
{
|
||||
return array(
|
||||
|
Reference in New Issue
Block a user