Interface Equatable
Defines a method that a class implements to determine equality of instances.
For the purpose of this interface, an equivalence relation is a binary relation that is reflexive, symmetric, transitive and consistent. This equivalence relation is exposed as the Equatable::equals() method.
It is important to distinguish between a type that can be compared for
equality and a representation of an equivalence relation. This interface is
for representing the former, while PhpCommon\Comparison\Equivalence
is for representing
the latter.
Indirect known implementers
PhpCommon\Comparison\Equivalence\GenericEquivalence, PhpCommon\Comparison\Hasher, PhpCommon\Comparison\Hasher\DateTimeHasher, PhpCommon\Comparison\Hasher\GenericHasher, PhpCommon\Comparison\Hasher\IdentityHasher, PhpCommon\Comparison\Hasher\ValueHasher
public
boolean
|
#
equals(
Checks whether the current object is considered equal to another. |