Hash() final public method

Creates a unique hash value from the identity
final public Hash ( ) : string
return string The hash of the entity
Example #1
0
 public final function GetFromCache(Object\Identity $Identity)
 {
     $IdentityHash = $Identity->Hash();
     return $this->Cache->Contains($IdentityHash) ? $this->Cache->Retrieve($IdentityHash) : null;
 }