public final function Hash() { $PropertyData = $this->GetPropertyData(); ksort($PropertyData); return md5(json_encode($PropertyData)); }
public final function GetFromCache(Object\Identity $Identity) { $IdentityHash = $Identity->Hash(); return $this->Cache->Contains($IdentityHash) ? $this->Cache->Retrieve($IdentityHash) : null; }