Key
interface Key (View source)
Key allows objects to define custom equality when used as map keys or set values.
Methods
bool
equals(mixed $other)
Determines whether another value is equal to this instance.
mixed
hash()
Returns a value used as this object's hash.
Details
bool
equals(mixed $other)
Determines whether another value is equal to this instance.
mixed
hash()
Returns a value used as this object's hash.