protected function getEntityRefKey(EntityManager $em, $table, $id) { return $em->getKeyScheme()->getEntityRefKey($table, $id); }