php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

ExceptionsCollector easy to extend

Open cesarreyes3 opened this issue 9 months ago • 2 comments

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

cesarreyes3 avatar Mar 04 '25 16:03 cesarreyes3

Is this still required?

barryvdh avatar Apr 08 '25 15:04 barryvdh

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.

cesarreyes3 avatar Apr 08 '25 15:04 cesarreyes3