protected final function VerifyEntityTypeIsMapped($EntityType) { $EntityRelationalMap = $this->GetEntityRelationalMap($EntityType); if ($EntityRelationalMap === null) { throw new UnmappedEntityException('The entity %s is not mapped within this domain database map', $EntityType); } return $EntityRelationalMap; }