private function getDataKeyByIdentity(ObjectIdentityInterface $oid)
    {
        return $this->prefix.md5($oid->getType()).sha1($oid->getType())
               .'_'.md5($oid->getIdentifier()).sha1($oid->getIdentifier());
    }
private function getDataKeyByIdentity(ObjectIdentityInterface $oid)
    {
        return $this->prefix.md5($oid->getType()).sha1($oid->getType())
               .'_'.md5($oid->getIdentifier()).sha1($oid->getIdentifier());
    }
private function getDataKeyByIdentity ( ObjectIdentityInterface $ oid ) { return $ this -> prefix . md5 ( $ oid -> getType ( ) ) . sha1 ( $ oid -> getType ( ) ) . '_' . md5 ( $ oid -> getIdentifier ( ) ) . sha1 ( $ oid -> getIdentifier ( ) ) ; }
Returns the key for the object identity.

@param ObjectIdentityInterface $oid

@return string
Returns the key for the object identity .