protected function getEntityHash(Mappable $entity)
    {
        $class = get_class($entity);

        $keyName = Mapper::getMapper($class)->getEntityMap()->getKeyName();

        return $class.'.'.$entity->getEntityAttribute($keyName);
    }
protected function getEntityHash(Mappable $entity)
    {
        $class = get_class($entity);

        $keyName = Mapper::getMapper($class)->getEntityMap()->getKeyName();

        return $class.'.'.$entity->getEntityAttribute($keyName);
    }
protected function getEntityHash ( Mappable $ entity ) { $ class = get_class ( $ entity ) ; $ keyName = Mapper :: getMapper ( $ class ) -> getEntityMap ( ) -> getKeyName ( ) ; return $ class . '.' . $ entity -> getEntityAttribute ( $ keyName ) ; }
Get a combo type.primaryKey.

@param Mappable $entity

@return string
Get a combo type . primaryKey .