ObjectIdentityInterface
ObjectIdentityInterface
interface ObjectIdentityInterface
Represents the identity of an individual domain object instance.
Methods
bool | equals(ObjectIdentityInterface $identity) We specifically require this method so we can check for object equality explicitly, and do not have to rely on referencial equality instead. | |
string | getIdentifier() Obtains a unique identifier for this object. The identifier must not be re-used for other objects with the same type. | |
string | getType() Returns a type for the d |