dumper.php
protected function describeObjectDifference($first, $second, $identical)
    {
        if (! is_object($second)) {
            return $this->describeGenericDifference($first, $second);
        }

        return $this->describeArrayDifference(
                $this->getMembers($first),
                $this->getMembers($second),
                $identical);
    }
protected function describeObjectDifference($first, $second, $identical)
    {
        if (! is_object($second)) {
            return $this->describeGenericDifference($first, $second);
        }

        return $this->describeArrayDifference(
                $this->getMembers($first),
                $this->getMembers($second),
                $identical);
    }
Creates a human readable description of the difference between two objects.

@param object $first        First object.
@param mixed $second        Object to compare with.
@param bool $identical   If true then type anomolies count.

@return string              Human readable description.