src/Failure/RedisBackend.php
protected function getClass(\Exception $exception)
    {
        $message = '';

        if (($previous = $exception->getPrevious())) {
            $message = $this->getClass($previous) . ' < '; // Recurse
        }

        // Let the exception lie about its class: to support marshalling exceptions
        if (method_exists($exception, 'getClass')) {
            $message .= $exception->getClass();
        } else {
            $message .= get_class($exception);
        }

        return $message;
    }
protected function getClass(\Exception $exception)
    {
        $message = '';

        if (($previous = $exception->getPrevious())) {
            $message = $this->getClass($previous) . ' < '; // Recurse
        }

        // Let the exception lie about its class: to support marshalling exceptions
        if (method_exists($exception, 'getClass')) {
            $message .= $exception->getClass();
        } else {
            $message .= get_class($exception);
        }

        return $message;
    }
protected function getClass ( \ Exception $ exception ) { $ message = '' ; if ( ( $ previous = $ exception -> getPrevious ( ) ) ) { $ message = $ this -> getClass ( $ previous ) . ' < ' ; // Recurse } // Let the exception lie about its class: to support marshalling exceptions if ( method_exists ( $ exception , 'getClass' ) ) { $ message .= $ exception -> getClass ( ) ; } else { $ message .= get_class ( $ exception ) ; } return $ message ; }
Find the class names of the exceptions

@param Exception $exception
@return string
Find the class names of the exceptions