public function equals(InverseFunctionalIdentifier $iri): bool
    {
        if (null !== $this->mbox && null !== $iri->mbox && !$this->mbox->equals($iri->mbox)) {
            return false;
        }

        if ($this->mboxSha1Sum !== $iri->mboxSha1Sum) {
            return false;
        }

        if ($this->openId !== $iri->openId) {
            return false;
        }

        if (null === $this->account && null !== $iri->account) {
            return false;
        }

        if (null !== $this->account && null === $iri->account) {
            return false;
        }

        if (null !== $this->account && !$this->account->equals($iri->account)) {
            return false;
        }

        return true;
    }
public function equals(InverseFunctionalIdentifier $iri): bool
    {
        if (null !== $this->mbox && null !== $iri->mbox && !$this->mbox->equals($iri->mbox)) {
            return false;
        }

        if ($this->mboxSha1Sum !== $iri->mboxSha1Sum) {
            return false;
        }

        if ($this->openId !== $iri->openId) {
            return false;
        }

        if (null === $this->account && null !== $iri->account) {
            return false;
        }

        if (null !== $this->account && null === $iri->account) {
            return false;
        }

        if (null !== $this->account && !$this->account->equals($iri->account)) {
            return false;
        }

        return true;
    }
public function equals ( InverseFunctionalIdentifier $ iri ) : bool { if ( null !== $ this -> mbox && null !== $ iri -> mbox && ! $ this -> mbox -> equals ( $ iri -> mbox ) ) { return false ; } if ( $ this -> mboxSha1Sum !== $ iri -> mboxSha1Sum ) { return false ; } if ( $ this -> openId !== $ iri -> openId ) { return false ; } if ( null === $ this -> account && null !== $ iri -> account ) { return false ; } if ( null !== $ this -> account && null === $ iri -> account ) { return false ; } if ( null !== $ this -> account && ! $ this -> account -> equals ( $ iri -> account ) ) { return false ; } return true ; }
Checks if another IRI is equal.

Two inverse functional identifiers are equal if and only if all of their
properties are equal.
Checks if another IRI is equal .