src/Analysis/Debugger.php
public static function message($backtrace)
    {
        if (static::isThrowable($backtrace)) {
            $name = get_class($backtrace);
            $code = $backtrace->getCode();
            return "`{$name}` Code({$code}): " . $backtrace->getMessage();
        } elseif (isset($backtrace['message'])) {
            $code = isset($backtrace['code']) ? $backtrace['code'] : 0;
            $name = static::errorType($code);
            return "`{$name}` Code({$code}): " . $backtrace['message'];
        }
    }
public static function message($backtrace)
    {
        if (static::isThrowable($backtrace)) {
            $name = get_class($backtrace);
            $code = $backtrace->getCode();
            return "`{$name}` Code({$code}): " . $backtrace->getMessage();
        } elseif (isset($backtrace['message'])) {
            $code = isset($backtrace['code']) ? $backtrace['code'] : 0;
            $name = static::errorType($code);
            return "`{$name}` Code({$code}): " . $backtrace['message'];
        }
    }
public static function message ( $ backtrace ) { if ( static :: isThrowable ( $ backtrace ) ) { $ name = get_class ( $ backtrace ) ; $ code = $ backtrace -> getCode ( ) ; return "`{$name}` Code({$code}): " . $ backtrace -> getMessage ( ) ; } elseif ( isset ( $ backtrace [ 'message' ] ) ) { $ code = isset ( $ backtrace [ 'code' ] ) ? $ backtrace [ 'code' ] : 0 ; $ name = static :: errorType ( $ code ) ; return "`{$name}` Code({$code}): " . $ backtrace [ 'message' ] ; } }
Generates a string message from a backtrace array.

@param  array|object $backtrace A backtrace array or an exception instance.
@return string                  The string message.
Generates a string message from a backtrace array .