src/DebugBar/DataCollector/ExceptionsCollector.php
public function addThrowable($e)
    {
        $this->exceptions[] = $e;
        if ($this->chainExceptions && $previous = $e->getPrevious()) {
            $this->addThrowable($previous);
        }
    }
public function addThrowable($e)
    {
        $this->exceptions[] = $e;
        if ($this->chainExceptions && $previous = $e->getPrevious()) {
            $this->addThrowable($previous);
        }
    }
public function addThrowable ( $ e ) { $ this -> exceptions [ ] = $ e ; if ( $ this -> chainExceptions && $ previous = $ e -> getPrevious ( ) ) { $ this -> addThrowable ( $ previous ) ; } }
Adds a Throwable to be profiled in the debug bar

@param \Throwable $e
Adds a Throwable to be profiled in the debug bar