php-debugbar
php-debugbar copied to clipboard
ExceptionsCollector easy to extend
In case #748 doesn't get merged, i could extend the class with that code and just return
public function collect() {
return array(
'count' => count($this->exceptions),
'exceptions' => $this->exceptions
);
}
Also for anyone who wants to extend the same class, just with another name
Is this still required?
After the other PR is merged, it is not required by me, but it does not affect anything if someone wants to use it in the future.