Auth_OpenID_Association::equal PHP Метод

equal() публичный Метод

This checks to see if two {@link Auth_OpenID_Association} instances represent the same association.
public equal ( $other ) : boolean
Результат boolean $result true if the two instances represent the same association, false otherwise.
    function equal($other)
    {
        return gettype($this) == gettype($other) && $this->handle == $other->handle && $this->secret == $other->secret && $this->issued == $other->issued && $this->lifetime == $other->lifetime && $this->assoc_type == $other->assoc_type;
    }