public function getStackTrace()
    {
        if (!isset($this->message[4]) || empty($this->message[4])) {
            return null;
        }

        $traces = array_map(function ($trace) {
            return "in {$trace['file']}:{$trace['line']}";
        }, $this->message[4]);
        return implode("\n", $traces);
    }
public function getStackTrace()
    {
        if (!isset($this->message[4]) || empty($this->message[4])) {
            return null;
        }

        $traces = array_map(function ($trace) {
            return "in {$trace['file']}:{$trace['line']}";
        }, $this->message[4]);
        return implode("\n", $traces);
    }
public function getStackTrace ( ) { if ( ! isset ( $ this -> message [ 4 ] ) || empty ( $ this -> message [ 4 ] ) ) { return null ; } $ traces = array_map ( function ( $ trace ) { return "in {$trace['file']}:{$trace['line']}" ; } , $ this -> message [ 4 ] ) ; return implode ( "\n" , $ traces ) ; }
Returns the additional stack trace as a string.
@return string|null stack trace, `null` if not available.
Returns the additional stack trace as a string .