Storm\Core\Mapping\DomainDatabaseMap::VerifyEntityTypeIsMapped PHP 메소드

VerifyEntityTypeIsMapped() 최종 보호된 메소드

Verifies that an entity type is mapped and returns the relational map if is found.
final protected VerifyEntityTypeIsMapped ( string $EntityType ) : Storm\Core\Mapping\IEntityRelationalMap
$EntityType string The entity type
리턴 Storm\Core\Mapping\IEntityRelationalMap The registered entity relational map
    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;
    }