public function isEqualTo(ValueHolderInterface $other_value_holder)
    {
        if (get_class($this) !== get_class($other_value_holder)) {
            return false;
        }

        return $this->sameValueAs($other_value_holder->getValue());
    }
public function isEqualTo(ValueHolderInterface $other_value_holder)
    {
        if (get_class($this) !== get_class($other_value_holder)) {
            return false;
        }

        return $this->sameValueAs($other_value_holder->getValue());
    }
public function isEqualTo ( ValueHolderInterface $ other_value_holder ) { if ( get_class ( $ this ) !== get_class ( $ other_value_holder ) ) { return false ; } return $ this -> sameValueAs ( $ other_value_holder -> getValue ( ) ) ; }
Tells whether a valueholder is considered being equal to the given
valueholder. That is, class and value are the same. The attribute and
entity may be different.

@param ValueHolderInterface $other_value_holder

@return boolean
Tells whether a valueholder is considered being equal to the given valueholder . That is class and value are the same . The attribute and entity may be different .