src/Whoops/Exception/Inspector.php
public function getPreviousExceptionInspector()
    {
        if ($this->previousExceptionInspector === null) {
            $previousException = $this->exception->getPrevious();

            if ($previousException) {
                $this->previousExceptionInspector = new Inspector($previousException);
            }
        }

        return $this->previousExceptionInspector;
    }
public function getPreviousExceptionInspector()
    {
        if ($this->previousExceptionInspector === null) {
            $previousException = $this->exception->getPrevious();

            if ($previousException) {
                $this->previousExceptionInspector = new Inspector($previousException);
            }
        }

        return $this->previousExceptionInspector;
    }
public function getPreviousExceptionInspector ( ) { if ( $ this -> previousExceptionInspector === null ) { $ previousException = $ this -> exception -> getPrevious ( ) ; if ( $ previousException ) { $ this -> previousExceptionInspector = new Inspector ( $ previousException ) ; } } return $ this -> previousExceptionInspector ; }
Returns an Inspector for a previous Exception, if any.
@todo   Clean this up a bit, cache stuff a bit better.
@return Inspector
Returns an Inspector for a previous Exception if any .