public function equals(ObjectIdentifiableInterface $identity)
    {
        return ($this->getType() === $identity->getType() && $this->getIdentifier() === $identity->getIdentifier());
    }
public function equals(ObjectIdentifiableInterface $identity)
    {
        return ($this->getType() === $identity->getType() && $this->getIdentifier() === $identity->getIdentifier());
    }
public function equals ( ObjectIdentifiableInterface $ identity ) { return ( $ this -> getType ( ) === $ identity -> getType ( ) && $ this -> getIdentifier ( ) === $ identity -> getIdentifier ( ) ) ; }
Checks for an explicit objects equality.

@param  \BackBee\Security\Acl\Domain\ObjectIdentifiableInterface $identity

@return Boolean

@see \BackBee\Security\Acl\Domain\IObjectIdentifiable
@codeCoverageIgnore
Checks for an explicit objects equality .